diff --git a/crossdata-core/src/test/java/com/stratio/crossdata/core/validator/statements/AttachClusterStatementTest.java b/crossdata-core/src/test/java/com/stratio/crossdata/core/validator/statements/AttachClusterStatementTest.java index 3a03e9c0c..468e55a86 100644 --- a/crossdata-core/src/test/java/com/stratio/crossdata/core/validator/statements/AttachClusterStatementTest.java +++ b/crossdata-core/src/test/java/com/stratio/crossdata/core/validator/statements/AttachClusterStatementTest.java @@ -134,9 +134,9 @@ public void attachUnknownClusterWithOptionsIfExists() { fail("Execution should have failed because comment options is not in the manifest"); } catch (ValidationException e) { String errorMsg = System.lineSeparator() + - "Expected: Some properties are not found in the datastore manifest" + System.lineSeparator() + + "Expected: Some properties are not found in the manifest" + System.lineSeparator() + " Found: " + e.getMessage().trim(); - assertTrue(e.getMessage().trim().equalsIgnoreCase("Some properties are not found in the datastore manifest"), errorMsg); + assertTrue(e.getMessage().trim().equalsIgnoreCase("Some properties are not found in the manifest"), errorMsg); } catch (IgnoreQueryException e) { fail(e.getMessage()); }