Skip to content

Commit

Permalink
Fix for Travis build fail:
Browse files Browse the repository at this point in the history
- Travis build would fail because it would unexpectedly continue outside
  of the catch block after throwing an exception, which it does not do
  when running the JUnit tests
  • Loading branch information
Phan committed Jul 8, 2016
1 parent 3e5ad47 commit a461945
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/test/java/org/mariadb/jdbc/JdbcParserTest.java
Expand Up @@ -305,7 +305,6 @@ public void testJdbcParserNotClusterEndpointUrlAurora() throws SQLException{
Assert.assertEquals(msg, se.getMessage());
throw se;
}
fail("Invalid URL exception did not get thrown");
}

@Test(expected=SQLException.class)
Expand All @@ -318,7 +317,6 @@ public void testJdbcParserMultipleEndpointsUrlAurora() throws SQLException{
Assert.assertEquals(msg, se.getMessage());
throw se;
}
fail("Invalid URL exception did not get thrown");
}

@Test(expected=SQLException.class)
Expand All @@ -331,7 +329,6 @@ public void testJdbcParserMultipleEndpointsWithClusterUrlAurora() throws SQLExce
Assert.assertEquals(msg, se.getMessage());
throw se;
}
fail("Invalid URL exception did not get thrown");
}

/**
Expand Down

0 comments on commit a461945

Please sign in to comment.