]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix HumanObjectPeerTest not delaying long enough in CI
authorMatt Corallo <git@bluematt.me>
Sun, 21 Mar 2021 23:33:03 +0000 (19:33 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Mar 2021 00:01:01 +0000 (20:01 -0400)
src/test/java/org/ldk/HumanObjectPeerTest.java

index 2812e55d06975af75b4f6930b391939bcb7fa829..484f63b47350d0844c3dbc5d98ee967ab30a4644 100644 (file)
@@ -616,8 +616,8 @@ class HumanObjectPeerTestInstance {
                 System.runFinalization();
             }
             connect_peers(state.peer1, state.peer2);
-            wait_events_processed(state.peer1, state.peer2);
         }
+        wait_events_processed(state.peer1, state.peer2);
 
         Event[] events = state.peer2.chan_manager_events.get_and_clear_pending_events();
         assert events.length == 1;