diff options
Diffstat (limited to 'tests/main.cpp')
-rw-r--r-- | tests/main.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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<sibs::BootstrapConnection> connection1 = sibs::BootstrapConnection::connect(sibs::Ipv4("127.0.0.1", PORT)).get(); bool gotData1 = false; bool gotAsdf1 = false; |