We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8508125 + 0743cc6 commit 465e654Copy full SHA for 465e654
pkg/ruler/ruler_test.go
@@ -1360,11 +1360,7 @@ func TestGetRules(t *testing.T) {
1360
if tc.sharding {
1361
mockPoolClient := r.clientsPool.(*mockRulerClientsPool)
1362
1363
- if tc.shardingStrategy == util.ShardingStrategyShuffle {
1364
- require.Equal(t, int32(tc.expectedClientCallCount), mockPoolClient.numberOfCalls.Load())
1365
- } else {
1366
1367
- }
+ require.Equal(t, int32(tc.expectedClientCallCount), mockPoolClient.numberOfCalls.Load())
1368
mockPoolClient.numberOfCalls.Store(0)
1369
}
1370
})
0 commit comments