Skip to content

Commit 7db8c6b

Browse files
chore: generate libraries at Mon Nov 10 06:25:20 UTC 2025
1 parent 4492683 commit 7db8c6b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBuiltInMetricsTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ public void testBuiltinMetricsWithDefaultOTEL() throws Exception {
134134
// disabled.
135135
// Keeping this check to enable this check in the future.
136136
if (metric.equals("afe_latencies")) {
137-
IntegerSubject subject = assertWithMessage("Metric " + metric + " returned data.")
138-
.that(response.getTimeSeriesCount());
137+
IntegerSubject subject =
138+
assertWithMessage("Metric " + metric + " returned data.")
139+
.that(response.getTimeSeriesCount());
139140
if (isProduction()) {
140141
subject.isEqualTo(0);
141142
} else {
@@ -152,6 +153,7 @@ public void testBuiltinMetricsWithDefaultOTEL() throws Exception {
152153

153154
private boolean isProduction() {
154155
String jobType = System.getenv("JOB_TYPE");
155-
return !Strings.isNullOrEmpty(jobType) && !(jobType.contains("devel") || jobType.contains("staging"));
156+
return !Strings.isNullOrEmpty(jobType)
157+
&& !(jobType.contains("devel") || jobType.contains("staging"));
156158
}
157159
}

0 commit comments

Comments
 (0)