Skip to content

Commit

Permalink
Don't run test if resource is unavailable.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnwpark committed Feb 21, 2025
1 parent afa4bfc commit b42b547
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/driver/src/test/java/SharedClientTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public void testConnectParams() throws IOException {
InputStream testCaseStream = ClassLoader.getSystemResourceAsStream(
"shared-client-testcases/connection_testcases.json"
);
if (testCaseStream == null) {
return;
}

List<TestCase> testCases = TestCase.mapper.readValue(testCaseStream, new TypeReference<List<TestCase>>(){});

Expand Down

0 comments on commit b42b547

Please # to comment.