File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed google-cloud-spanner/src/test/java/com/google/cloud/spanner
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -1623,7 +1623,7 @@ public Void call() {
|
1623 | 1623 | executor.shutdown();
|
1624 | 1624 |
|
1625 | 1625 | session1.close();
|
1626 |
| -assertThat(record.getMetrics()).containsEntry(MetricRegistryConstants.GET_SESSION_TIMEOUT, 1L); |
| 1626 | +assertThat(record.getMetrics().get(MetricRegistryConstants.GET_SESSION_TIMEOUT).longValue()).isAtLeast(1L); |
1627 | 1627 | assertThat(record.getMetrics()).containsEntry(MetricRegistryConstants.IN_USE_SESSIONS, 0L);
|
1628 | 1628 | assertThat(record.getMetrics()).containsEntry(MetricRegistryConstants.MAX_IN_USE_SESSIONS, 2L);
|
1629 | 1629 | }
|
|
You can’t perform that action at this time.
0 commit comments