Skip to content

Commit

Permalink
- Add an explanation for the number of recoveries that happen during
Browse files Browse the repository at this point in the history
an upgrade.
  • Loading branch information
sbodagala committed Jul 11, 2023
1 parent d21d0f3 commit 828ec89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions e2e/test_operator_ha_upgrades/operator_ha_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,10 @@ var _ = Describe("Operator HA Upgrades", Label("e2e", "pr"), func() {

// Verify that the cluster generation number didn't increase by more
// than 80 (in an ideal case the number of recoveries that should happen
// during an upgrade is 9, but in reality that number could be higher
// because different server processes may get bounced at different times).
// See: https://github.com/FoundationDB/fdb-kubernetes-operator/issues/1607
// during an upgrade, because of bouncing of server processes, is 9, but
// in reality that number could be higher because different server processes
// may get bounced at different times and also because of cluster controller
// change, which happens a number of times, during an upgrade).
Expect(finalGeneration).To(BeNumerically("<=", initialGeneration+80))
},
EntryDescription("Upgrade from %[1]s to %[2]s"),
Expand Down

0 comments on commit 828ec89

Please sign in to comment.