diff --git a/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java b/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java index be81996..dc747e5 100644 --- a/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java +++ b/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java @@ -696,8 +696,8 @@ public void testPrepStmtCacheRemove() throws ClassNotFoundException { Assert.assertEquals(0, customerList.size()); Assert.fail("Should throw a 'Table not found' exception"); } catch (Exception e) { - Assert.assertEquals("Table not found: customer", - e.getCause().getMessage()); + Assert.assertTrue( + e.getCause().getMessage().contains("Table not found")); } NosqlEntityInformation customerEntInfo =