Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Nov 9, 2024
1 parent 0efd293 commit 57ab26d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions coordinator/impl/coordinator_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,11 @@ func TestCoordinator_RefreshServerInfo(t *testing.T) {
})
}

// check if the new config will trigger node swap
status := c.ClusterStatus()
actions := rebalanceCluster(clusterServer, &status)
assert.EqualValues(t, 0, len(actions))

clusterConfig.Servers = clusterServer
configChangesCh <- nil

Expand Down

0 comments on commit 57ab26d

Please sign in to comment.