Skip to content

Commit

Permalink
apply spotless.
Browse files Browse the repository at this point in the history
Signed-off-by: Rishikesh1159 <[email protected]>
  • Loading branch information
Rishikesh1159 committed Dec 3, 2022
1 parent 46dd09a commit ae55b27
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,9 @@ public void testCoordinatingPrimaryThreadedUpdateToShardLimitsAndRejections() th

nodeStats = shardIndexingPressure.stats();
IndexingPressurePerShardStats shardStoreStats = shardIndexingPressure.shardStats().getIndexingPressureShardStats(shardId1);
if(rejectionCount.get() == NUM_THREADS){
if (rejectionCount.get() == NUM_THREADS) {
assertEquals(10, shardStoreStats.getCurrentPrimaryAndCoordinatingLimits());
}
else{
} else {
assertNull(shardStoreStats);
}
shardStats = shardIndexingPressure.coldStats();
Expand Down Expand Up @@ -336,10 +335,9 @@ public void testReplicaThreadedUpdateToShardLimitsAndRejections() throws Excepti
assertEquals(0, nodeStats.getCurrentReplicaBytes());

IndexingPressurePerShardStats shardStoreStats = shardIndexingPressure.shardStats().getIndexingPressureShardStats(shardId1);
if(rejectionCount.get() == NUM_THREADS){
if (rejectionCount.get() == NUM_THREADS) {
assertEquals(15, shardStoreStats.getCurrentReplicaLimits());
}
else{
} else {
assertNull(shardStoreStats);
}

Expand Down

0 comments on commit ae55b27

Please sign in to comment.