Skip to content

Commit 98af46a

Browse files
committed
fixed conf test failure in 4.3+
1 parent 6ff1612 commit 98af46a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/neo4j/docker/TestConfSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private void assertConfigurationPresentInDebugLog( Path debugLog, String setting
6767
if(shouldBeFound)
6868
{
6969
Assertions.assertTrue( !actualSetting.isEmpty(), setting+" was never set" );
70-
Assertions.assertTrue( actualSetting.endsWith( value ),
70+
Assertions.assertTrue( actualSetting.contains( value ),
7171
setting +" is set to the wrong value. Expected: "+value+" Actual: " + actualSetting );
7272
}
7373
else
@@ -184,7 +184,7 @@ void testReadsTheConfFile() throws Exception
184184
}
185185

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

190190
@Test

0 commit comments

Comments
 (0)