Skip to content

Commit

Permalink
Remove unnecessary test lines
Browse files Browse the repository at this point in the history
  • Loading branch information
temawi committed May 8, 2024
1 parent c1faf69 commit 229bc0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rls/src/test/java/io/grpc/rls/CachingRlsLbClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -683,10 +683,8 @@ public void metricGauges() throws ExecutionException, InterruptedException, Time
RouteLookupResponse.create(ImmutableList.of("target"), "header")));

// Make a request that will populate the cache with an entry
CachedRouteLookupResponse resp = getInSyncContext(routeLookupRequest);
getInSyncContext(routeLookupRequest);
fakeClock.forwardTime(SERVER_LATENCY_MILLIS, TimeUnit.MILLISECONDS);
resp = getInSyncContext(routeLookupRequest);
assertThat(resp.hasData()).isTrue();

// Gauge values should reflect the new cache entry.
gaugeBatchCallback.accept(mockBatchRecorder);
Expand Down

0 comments on commit 229bc0b

Please sign in to comment.