Skip to content

Commit

Permalink
fixed conf test failure in 4.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyowen committed Jun 10, 2021
1 parent 6ff1612 commit 7986a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/neo4j/docker/TestConfSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void assertConfigurationPresentInDebugLog( Path debugLog, String setting
if(shouldBeFound)
{
Assertions.assertTrue( !actualSetting.isEmpty(), setting+" was never set" );
Assertions.assertTrue( actualSetting.endsWith( value ),
Assertions.assertTrue( actualSetting.contains( value ),
setting +" is set to the wrong value. Expected: "+value+" Actual: " + actualSetting );
}
else
Expand Down Expand Up @@ -184,7 +184,7 @@ void testReadsTheConfFile() throws Exception
}

//Check if the container reads the conf file
assertConfigurationPresentInDebugLog( debugLog, "dbms.memory.heap.max_size", "512m", true );
assertConfigurationPresentInDebugLog( debugLog, "dbms.memory.heap.max_size", "512", true );
}

@Test
Expand Down

0 comments on commit 7986a74

Please sign in to comment.