We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26c365b commit 28418b0Copy full SHA for 28418b0
java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner/spi/v1/KeyRangeCacheTest.java
@@ -114,6 +114,10 @@ public void skipsExplicitlyExcludedTablet() {
114
.setDistance(0)))
115
.build());
116
117
+ // Pre-create endpoints so getIfPresent() returns them.
118
+ endpointCache.get("server1");
119
+ endpointCache.get("server2");
120
+
121
RoutingHint.Builder hint = RoutingHint.newBuilder().setKey(bytes("a"));
122
ChannelEndpoint server =
123
cache.fillRoutingHint(
0 commit comments