File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments