Skip to content

Commit

Permalink
Fix tests after removing the Trino driver
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Feb 10, 2025
1 parent 056c365 commit ea1d578
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void availableScriptEngines() throws UnsupportedEncodingException {
public void availableJDBCDrivers() throws UnsupportedEncodingException {
final AvailableJDBCDrivers availableJDBCDrivers = new AvailableJDBCDrivers();
final int size = availableJDBCDrivers.size();
assertThat(size == 16, is(true));
assertThat(size, is(15));

final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final String utf8 = StandardCharsets.UTF_8.name();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public void availableJDBCDrivers() throws Exception {
final int numJDBCDrivers = availableJDBCDrivers.size();
assertThat(
"Number of of avilable JDBC drivers is not correct - found " + numJDBCDrivers,
numJDBCDrivers == 20,
is(true));
numJDBCDrivers,
is(19));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class JDBCDriverRegistryTest {
public void registeredPlugins() {
final JDBCDriverRegistry driverRegistry = JDBCDriverRegistry.getJDBCDriverRegistry();
final Collection<PropertyName> commandLineCommands = driverRegistry.getRegisteredPlugins();
assertThat(commandLineCommands, hasSize(17));
assertThat(commandLineCommands, hasSize(16));
}

@Test
Expand Down

0 comments on commit ea1d578

Please sign in to comment.