Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
johscheuer committed Sep 28, 2023
1 parent f4c7d17 commit 72b3978
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/test_operator_ha_upgrades/operator_ha_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Each test will create a new HA FoundationDB cluster which will be upgraded.
*/

import (
"fmt"
"golang.org/x/sync/errgroup"
"log"
"math/rand"
Expand Down Expand Up @@ -188,8 +189,9 @@ var _ = Describe("Operator HA Upgrades", Label("e2e", "pr"), func() {
})

if err != nil {
log.Println("error during WaitForReconciliation for", targetCluster.Name(), "error:", err.Error())
return fmt.Errorf("error during WaitForReconciliation for %s, original error: %w", targetCluster.Name(), err)
}

return err
})
}
Expand All @@ -210,7 +212,7 @@ var _ = Describe("Operator HA Upgrades", Label("e2e", "pr"), func() {

// The sync.Map has not length method, so we have to calculate it.
var processCounts int
transactionSystemProcessGroups.Range(func(_, _ interface{}) bool {
transactionSystemProcessGroups.Range(func(_, _ any) bool {
processCounts++
return true
})
Expand Down

0 comments on commit 72b3978

Please sign in to comment.