File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
integration-test/src/main/java/com/scalar/db/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ public void scan_WithSufficientPermission_ShouldSucceed() {
9999 .partitionKey (Key .ofInt (COL_NAME1 , PARTITION_KEY_VALUE ))
100100 .build ();
101101 // Act Assert
102- assertThatCode (() -> storageForNormalUser .scan (scan )).doesNotThrowAnyException ();
102+ assertThatCode (() -> storageForNormalUser .scan (scan ). close () ).doesNotThrowAnyException ();
103103 }
104104
105105 @ Test
106106 public void scanAll_WithSufficientPermission_ShouldSucceed () {
107107 // Arrange
108108 Scan scan = Scan .newBuilder ().namespace (namespace ).table (TABLE ).all ().build ();
109109 // Act Assert
110- assertThatCode (() -> storageForNormalUser .scan (scan )).doesNotThrowAnyException ();
110+ assertThatCode (() -> storageForNormalUser .scan (scan ). close () ).doesNotThrowAnyException ();
111111 }
112112
113113 @ Test
You can’t perform that action at this time.
0 commit comments