aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_network.cpp3
-rw-r--r--test/test_p2p.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/test_network.cpp b/test/test_network.cpp
index 061b520..d93d0ff 100644
--- a/test/test_network.cpp
+++ b/test/test_network.cpp
@@ -141,6 +141,9 @@ int main() {
alice.reg_handler(on_receive_ack);
bob.reg_handler(on_receive_ack);
+ alice.start();
+ bob.start();
+
alice.listen(alice_addr);
bob.listen(bob_addr);
diff --git a/test/test_p2p.cpp b/test/test_p2p.cpp
index 4146fd9..f52f48f 100644
--- a/test/test_p2p.cpp
+++ b/test/test_p2p.cpp
@@ -139,6 +139,9 @@ int main() {
alice.reg_handler(on_receive_ack);
bob.reg_handler(on_receive_ack);
+ alice.start();
+ bob.start();
+
alice.listen(alice_addr);
bob.listen(bob_addr);