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

Make sure we wait some time before checking the incompatible connections #1704

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions e2e/test_operator_upgrades/operator_upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,10 @@ var _ = Describe("Operator Upgrades", Label("e2e", "pr"), func() {
// The cluster should still be able to upgrade.
Expect(fdbCluster.UpgradeCluster(targetVersion, true)).NotTo(HaveOccurred())

status := fdbCluster.GetStatus()
Expect(len(status.Cluster.IncompatibleConnections)).To(Equal(0))
// Make sure that the incompatible connections are cleaned up after some time.
Eventually(func() []string {
return fdbCluster.GetStatus().Cluster.IncompatibleConnections
}).WithTimeout(5 * time.Minute).WithPolling(5 * time.Second).MustPassRepeatedly(5).Should(BeEmpty())
},
EntryDescription("Upgrade from %[1]s to %[2]s with one coordinator not being restarted"),
fixtures.GenerateUpgradeTableEntries(testOptions),
Expand Down