diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java b/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java index 7b1f359b91..d0d1d0bd57 100644 --- a/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java +++ b/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java @@ -140,12 +140,15 @@ public class GrpcRemoteCacheTest { ChannelOptions channelOptions = ChannelOptions.create( authTlsOptions, scratch.resolve(authTlsOptions.authCredentials).getInputStream()); + RemoteOptions remoteOptions = Options.getDefaults(RemoteOptions.class); + Retrier retrier = new Retrier(remoteOptions); return new GrpcRemoteCache( ClientInterceptors.intercept( InProcessChannelBuilder.forName(fakeServerName).directExecutor().build(), ImmutableList.of(new ChannelOptionsInterceptor(channelOptions))), channelOptions, - Options.getDefaults(RemoteOptions.class)); + remoteOptions, + retrier); } @Test |