Skip to content

Commit

Permalink
isolate the rebalance tests to avoid conflict with other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itgram committed Oct 29, 2024
1 parent 5bb37c6 commit 366d0da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esdb/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ func TestStreams(t *testing.T) {
} else {
InsecureAuthenticationTests(t, emptyClient)
}
} else {
ClusterRebalanceTests(t)
}
}

Expand Down
5 changes: 5 additions & 0 deletions esdb/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ import (
func ClusterTests(t *testing.T) {
t.Run("ClusterTests", func(t *testing.T) {
t.Run("notLeaderExceptionButWorkAfterRetry", notLeaderExceptionButWorkAfterRetry)
})
}

func ClusterRebalanceTests(t *testing.T) {
t.Run("ClusterRebalanceTests", func(t *testing.T) {
t.Run("readStreamAfterClusterRebalance", readStreamAfterClusterRebalance)
})
}
Expand Down

0 comments on commit 366d0da

Please sign in to comment.