INNER CODE UNIT · Go

i

ddev/ddev · winpkg/installer_test.go:426

				if i == maxTries-1 {
					require.Fail("Installation timeout", "No completion marker found after %d tries. Last status: %s", maxTries, strings.TrimSpace(statusOut))
				}

				time.Sleep(1 * time.Second)
			}

			out, err = exec.RunHostCommand("wsl.exe", "-d", tc.distro, "bash", "-c", "ddev config global --instrumentation-opt-in=false")
			require.NoError(err, "Failed to set global instrumentation opt-in: %v, output: %s", err, out)

			// Check if ddev is available to verify installer waited for completion
			out, err = exec.RunHostCommand("wsl.exe", "-d", tc.distro, "bash", "-c", "ddev version")
			require.NoError(err, "ddev version check failed after installer: %v, output: %s", err, out)

			// Test that ddev is installed and working
			testDdevInstallation(t, tc.distro)

			// Test basic ddev functionality

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…