This repository was archived by the owner on Apr 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,13 +51,16 @@ public class ITBuiltInMetricsTest {
5151
5252 private static MetricServiceClient metricClient ;
5353
54- private static java .util .List <String > METRICS = new java .util .ArrayList <String >() {{
55- add ("operation_latencies" );
56- add ("attempt_latencies" );
57- add ("operation_count" );
58- add ("attempt_count" );
59- add ("afe_latencies" );
60- }};
54+ private static java .util .List <String > METRICS =
55+ new java .util .ArrayList <String >() {
56+ {
57+ add ("operation_latencies" );
58+ add ("attempt_latencies" );
59+ add ("operation_count" );
60+ add ("attempt_count" );
61+ add ("afe_latencies" );
62+ }
63+ };
6164
6265 @ BeforeClass
6366 public static void setUp () throws IOException {
@@ -66,7 +69,7 @@ public static void setUp() throws IOException {
6669 // Enable BuiltinMetrics when the metrics are GA'ed
6770 db = env .getTestHelper ().createTestDatabase ();
6871 client = env .getTestHelper ().getDatabaseClient (db );
69- if (!env .getTestHelper ().getOptions ().isEnableDirectAccess ()) {
72+ if (!env .getTestHelper ().getOptions ().isEnableDirectAccess ()) {
7073 METRICS .add ("gfe_latencies" );
7174 }
7275 }
You can’t perform that action at this time.
0 commit comments