Skip to content

Commit 30023bf

Browse files
authored
test: fixed test case that reset entire mock server instead of only requests (#786)
1 parent b72a4b3 commit 30023bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/google/cloud/spanner/jdbc/PgNumericPreparedStatementTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void setUp() throws Exception {
8686
"jdbc:cloudspanner://%s/projects/%s/instances/%s/databases/%s?usePlainText=true;dialect=POSTGRESQL",
8787
endpoint, PROJECT, INSTANCE, DATABASE);
8888
connection = DriverManager.getConnection(url);
89-
mockSpanner.reset();
89+
mockSpanner.clearRequests();
9090
}
9191

9292
@After

0 commit comments

Comments
 (0)