Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding upgrade test for unhealthy upgraded Agent #3274

Merged
merged 16 commits into from
Sep 8, 2023
Merged
Prev Previous commit
Update watcher completion check function call
  • Loading branch information
ycombinator committed Sep 8, 2023
commit 00bd22b6a87aee95ade20898f78bb72dcc025ff6
2 changes: 1 addition & 1 deletion testing/integration/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ inputs:
}, 2*time.Minute, 250*time.Millisecond, "Upgraded Agent never became healthy")

// Wait for upgrade watcher to finish running
checkUpgradeWatcherRan(t, agentFixture, upgradeFromVersion)
waitForUpgradeWatcherToComplete(t, agentFixture, upgradeFromVersion, standaloneWatcherDuration)

t.Log("Ensure the we have rolled back and the correct version is running")
require.Eventually(t, func() bool {
Expand Down