reenable whisper tests

This commit is contained in:
subtly 2015-04-05 17:10:29 +02:00
parent e33b003862
commit 4597ae7260

View File

@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE(topic)
{ {
cnote << "Testing Whisper..."; cnote << "Testing Whisper...";
auto oldLogVerbosity = g_logVerbosity; auto oldLogVerbosity = g_logVerbosity;
g_logVerbosity = 11; g_logVerbosity = 0;
Host host1("Test", NetworkPreferences("127.0.0.1", 30303, false)); Host host1("Test", NetworkPreferences("127.0.0.1", 30303, false));
host1.setIdealPeerCount(1); host1.setIdealPeerCount(1);
@ -98,7 +98,6 @@ BOOST_AUTO_TEST_CASE(topic)
BOOST_REQUIRE_EQUAL(result, 1 + 9 + 25 + 49 + 81); BOOST_REQUIRE_EQUAL(result, 1 + 9 + 25 + 49 + 81);
} }
#if ALEX_HASH_FIXED_NETWORKING
BOOST_AUTO_TEST_CASE(forwarding) BOOST_AUTO_TEST_CASE(forwarding)
{ {
cnote << "Testing Whisper forwarding..."; cnote << "Testing Whisper forwarding...";
@ -291,6 +290,5 @@ BOOST_AUTO_TEST_CASE(asyncforwarding)
BOOST_REQUIRE_EQUAL(result, 1); BOOST_REQUIRE_EQUAL(result, 1);
} }
#endif
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()