This is an automated email from the ASF dual-hosted git repository.

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a37f036b8 fixed flaky test in LoggerUtilsTest.java (#9939)
3a37f036b8 is described below

commit 3a37f036b85dd935dff1c6d068ff97062ce5ae62
Author: tt0suzy <[email protected]>
AuthorDate: Thu Dec 8 14:31:43 2022 -0600

    fixed flaky test in LoggerUtilsTest.java (#9939)
---
 .../src/test/java/org/apache/pinot/common/utils/LoggerUtilsTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/pinot-common/src/test/java/org/apache/pinot/common/utils/LoggerUtilsTest.java 
b/pinot-common/src/test/java/org/apache/pinot/common/utils/LoggerUtilsTest.java
index 4c9917b4ff..0e9b9fb46b 100644
--- 
a/pinot-common/src/test/java/org/apache/pinot/common/utils/LoggerUtilsTest.java
+++ 
b/pinot-common/src/test/java/org/apache/pinot/common/utils/LoggerUtilsTest.java
@@ -37,8 +37,8 @@ public class LoggerUtilsTest {
   public void testGetAllLoggers() {
     List<String> allLoggers = LoggerUtils.getAllLoggers();
     assertEquals(allLoggers.size(), 2);
-    assertEquals(allLoggers.get(0), ROOT);
-    assertEquals(allLoggers.get(1), PINOT);
+    assertTrue(allLoggers.contains(ROOT));
+    assertTrue(allLoggers.contains(PINOT));
   }
 
   @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to