Skip to content

Commit

Permalink
Remove test duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
johscheuer committed Sep 28, 2023
1 parent 72b3978 commit e767279
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions e2e/test_operator_ha_upgrades/operator_ha_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,47 +494,4 @@ var _ = Describe("Operator HA Upgrades", Label("e2e", "pr"), func() {
EntryDescription("Upgrade from %[1]s to %[2]s"),
fixtures.GenerateUpgradeTableEntries(testOptions),
)

DescribeTable(
"when no remote processes are restarted",
func(beforeVersion string, targetVersion string) {
clusterSetup(beforeVersion, false)

// Select remote processes and use the buggify option to skip those
// processes during the restart command.
remoteProcessGroups := fdbCluster.GetRemote().GetCluster().Status.ProcessGroups
ignoreDuringRestart := make(
[]fdbv1beta2.ProcessGroupID,
0,
len(remoteProcessGroups),
)

for _, processGroup := range remoteProcessGroups {
ignoreDuringRestart = append(
ignoreDuringRestart,
processGroup.ProcessGroupID,
)
}

log.Println(
"Selected Process Groups:",
ignoreDuringRestart,
"to be skipped during the restart",
)

// We have to set this to all clusters as any operator could be doing the cluster wide restart.
for _, cluster := range fdbCluster.GetAllClusters() {
cluster.SetIgnoreDuringRestart(ignoreDuringRestart)
}

// The cluster should still be able to upgrade.
Expect(fdbCluster.UpgradeCluster(targetVersion, false)).NotTo(HaveOccurred())
// Verify that the upgrade proceeds
fdbCluster.VerifyVersion(targetVersion)

// TODO add validation here processes are updated new version
},
EntryDescription("Upgrade from %[1]s to %[2]s"),
fixtures.GenerateUpgradeTableEntries(testOptions),
)
})

0 comments on commit e767279

Please sign in to comment.