aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-12-01 12:43:06 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:56:48 +0200
commit39f3e2049813d2556309b4ee2064287b5781415f (patch)
tree6ee06ab49d356cb8e547b24c22bda562e585b2d2 /tests
parente66f3b1adec087dd7d47c6e25d26961d768ee3b8 (diff)
Starting with upnp support
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp11
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;