diff options
author | Aleksi Lindeman <dec05eba@protonmail.com> | 2018-12-01 12:43:06 +0100 |
---|---|---|
committer | Aleksi Lindeman <dec05eba@protonmail.com> | 2018-12-01 12:43:06 +0100 |
commit | e3373366bb81c57cdc3ec96c6936b6c9df535bb2 (patch) | |
tree | 27b3f0299a3b955768625b8e8a85dd09b52ce6ac /tests | |
parent | 9b5d7e4f7a402d52280015a12d2268eed060f1cd (diff) |
Starting with upnp support
Diffstat (limited to 'tests')
-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; |