From e3373366bb81c57cdc3ec96c6936b6c9df535bb2 Mon Sep 17 00:00:00 2001 From: Aleksi Lindeman Date: Sat, 1 Dec 2018 12:43:06 +0100 Subject: Starting with upnp support --- tests/main.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests') diff --git a/tests/main.cpp b/tests/main.cpp index 2623884..22bef9d 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -14,17 +14,6 @@ int main() const sibs::PubsubKey key2("zbcdefghcjklmn3pqrs5uvx2z0123F56789", 35); sibs::BootstrapNode boostrapNode(sibs::Ipv4(nullptr, PORT)); - bool connectionFailure = false; - try - { - sibs::BootstrapConnection::connect(sibs::Ipv4("127.0.0.1", 2222)).get(); - } - catch(sibs::BootstrapConnectionException &e) - { - connectionFailure = true; - } - REQUIRE(connectionFailure); - std::unique_ptr connection1 = sibs::BootstrapConnection::connect(sibs::Ipv4("127.0.0.1", PORT)).get(); bool gotData1 = false; bool gotAsdf1 = false; -- cgit v1.2.3