Skip to content

Commit bca51a1

Browse files
committed
formatting fixes
1 parent d3b9622 commit bca51a1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner/spi/v1/GapicSpannerRpcTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,8 +1201,7 @@ public void testFallbackIntegration_doesNotSwitchWhenThresholdNotMet() throws Ex
12011201
// Verify Fallback via Metrics
12021202
Collection<MetricData> metrics = metricReader.collectAllMetrics();
12031203
boolean fallbackOccurred =
1204-
metrics.stream()
1205-
.anyMatch(md -> md.getName().contains("fallback_count") && hasValue(md));
1204+
metrics.stream().anyMatch(md -> md.getName().contains("fallback_count") && hasValue(md));
12061205

12071206
assertFalse("Fallback metric should not be present", fallbackOccurred);
12081207

@@ -1282,8 +1281,7 @@ public void testFallbackIntegration_switchesToFallbackOnFailure() throws Excepti
12821281
// Verify Fallback via Metrics
12831282
Collection<MetricData> metrics = metricReader.collectAllMetrics();
12841283
boolean fallbackOccurred =
1285-
metrics.stream()
1286-
.anyMatch(md -> md.getName().contains("fallback_count") && hasValue(md));
1284+
metrics.stream().anyMatch(md -> md.getName().contains("fallback_count") && hasValue(md));
12871285

12881286
assertTrue(
12891287
"Fallback metric should be present, indicating GcpFallbackChannel is active",

0 commit comments

Comments
 (0)