We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2055f0 commit 0743cc6Copy full SHA for 0743cc6
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