Skip to content

Conversation

@mitchell-as
Copy link
Collaborator

@mitchell-as mitchell-as commented Nov 26, 2024

BugDX-3173 Nightly failure: TestRemoteInstallIntegrationTestSuite/TestInstall/install-prbranch-and-channel_(@master)

It turns out we need to be running in non-interactive mode because the Windows installer detects installation as admin and prompts you to continue. I've updated the test to stop trying to send "Y" to the TOS prompt and instead assert it's continuing due to non-interactive mode. There's an extra assertion for Windows so we do not forget this use-case.

@mitchell-as mitchell-as force-pushed the mitchell/dx-3173 branch 4 times, most recently from a18282b to 7a16308 Compare November 26, 2024 17:05
@mitchell-as mitchell-as requested a review from MDrakos November 26, 2024 17:32
@mitchell-as mitchell-as marked this pull request as ready for review November 26, 2024 17:32
stateExePath := filepath.Join(installPath, "bin", constants.StateCmd+osutils.ExeExtension)

args := []string{"-n"}
args := []string{"--non-interactive"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did -n not work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did, but I like that this is more explicit.

@mitchell-as mitchell-as merged commit 4e9a671 into version/0-48-0-RC1 Nov 26, 2024
8 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3173 branch November 26, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants