From 6f77cd80693ad6a001387833fb646f4a1131d403 Mon Sep 17 00:00:00 2001 From: mitchell Date: Tue, 26 Nov 2024 10:51:00 -0500 Subject: [PATCH] Update remote installer expectations. --- test/integration/remote_installer_int_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/remote_installer_int_test.go b/test/integration/remote_installer_int_test.go index 65949c3fb4..3d86dad0d7 100644 --- a/test/integration/remote_installer_int_test.go +++ b/test/integration/remote_installer_int_test.go @@ -74,7 +74,7 @@ func (suite *RemoteInstallIntegrationTestSuite) TestInstall() { installPath := filepath.Join(ts.Dirs.Work, "install") stateExePath := filepath.Join(installPath, "bin", constants.StateCmd+osutils.ExeExtension) - args := []string{"-n"} + args := []string{"--non-interactive"} if tt.Version != "" { args = append(args, "--version", tt.Version) } @@ -93,7 +93,7 @@ func (suite *RemoteInstallIntegrationTestSuite) TestInstall() { ) cp.Expect("Terms of Service") - cp.SendLine("Y") + cp.Expect("Continuing because State Tool is running in non-interactive mode") cp.Expect("Downloading") cp.Expect("Running Installer...") cp.Expect("Installing")