Fix flaky tests in LogMessageTest (#1500)

* Fix flaky tests in LogMessageTest

* Remove fix for NOD test

---------

Co-authored-by: balasukesh <bbelide2@fa23-cs527-002.cs.illinois.edu>
pull/1503/head
Bala Sukesh 1 year ago committed by GitHub
parent 26212e47cf
commit ee2a81f6a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,8 @@ public class LogMessageTest {
public void testKvShouldPutAllKeyAndValuePairs() {
logMessage.kv("key1", "value1");
logMessage.kv("key2", "value2");
assertEquals("key1=value1||key2=value2", logMessage.toString());
String output = logMessage.toString();
assertTrue(output.equals("key1=value1||key2=value2") || output.equals("key2=value2||key1=value1"));
}
@Test

Loading…
Cancel
Save