Skip to content

Commit

Permalink
Add Support to Upsert/Insert Ignore on PDB
Browse files Browse the repository at this point in the history
- Fix tests: Fixes the h2 assumption as it requires more than one h2 engine.
  • Loading branch information
victorcmg-fdz committed Jun 2, 2023
1 parent 36a434c commit 1d32f7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void setUp() throws DatabaseFactoryException {
@Test
public void closingAnEngineShouldFlushAndCloseInsertPSsAndCloseCachedPSs(@Capturing final Statement preparedStatementMock)
throws DatabaseEngineException, SQLException, NameAlreadyExistsException {
assumeTrue(!ImmutableList.of("h2", "postgresql", "cockroach").contains(config.vendor));
assumeTrue(!ImmutableList.of("postgresql", "cockroach").contains(config.vendor) && !config.vendor.startsWith("h2"));

engine.addEntity(buildEntity("ENTITY-1"));
engine.addEntity(buildEntity("ENTITY-2"));
Expand Down

0 comments on commit 1d32f7f

Please sign in to comment.