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

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 0942481  fix assertions in test
0942481 is described below

commit 0942481791c84d0a1afe75570d95cba5a7c182a4
Author: Antoine Toulme <anto...@lunar-ocean.com>
AuthorDate: Thu May 30 15:17:06 2019 -0700

    fix assertions in test
---
 .../test/java/org/apache/tuweni/gossip/GossipIntegrationTest.java  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/gossip/src/test/java/org/apache/tuweni/gossip/GossipIntegrationTest.java 
b/gossip/src/test/java/org/apache/tuweni/gossip/GossipIntegrationTest.java
index 70d9d23..2f86477 100644
--- a/gossip/src/test/java/org/apache/tuweni/gossip/GossipIntegrationTest.java
+++ b/gossip/src/test/java/org/apache/tuweni/gossip/GossipIntegrationTest.java
@@ -14,6 +14,7 @@ package org.apache.tuweni.gossip;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertTrue;
 
 import org.apache.tuweni.bytes.Bytes;
 import org.apache.tuweni.bytes.Bytes32;
@@ -162,9 +163,7 @@ class GossipIntegrationTest {
       receiver2Expected.remove(value);
     }
 
-    receiver2 = Files.readAllLines(tempDir.resolve("log3.log"));
-    assertEquals(20, receiver2.size());
-    receiver1 = Files.readAllLines(tempDir.resolve("log2.log"));
-    assertEquals(20, receiver1.size());
+    assertTrue(receiver1Expected.isEmpty());
+    assertTrue(receiver2Expected.isEmpty());
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@tuweni.apache.org
For additional commands, e-mail: commits-h...@tuweni.apache.org

Reply via email to