diff --git a/test/libp2p/net.cpp b/test/libp2p/net.cpp
index 7ab8d00cc..f26907cf5 100644
--- a/test/libp2p/net.cpp
+++ b/test/libp2p/net.cpp
@@ -339,7 +339,7 @@ BOOST_AUTO_TEST_SUITE(netTypes)
BOOST_AUTO_TEST_CASE(deadlineTimer)
{
- if (test::Options::get().nonetwork)
+ //if (test::Options::get().nonetwork)
return;
ba::io_service io;
diff --git a/test/libwhisper/whisperDB.cpp b/test/libwhisper/whisperDB.cpp
index a62539bfd..fb1fa2917 100644
--- a/test/libwhisper/whisperDB.cpp
+++ b/test/libwhisper/whisperDB.cpp
@@ -24,6 +24,7 @@ along with cpp-ethereum. If not, see .
#include
#include
#include
+#include
using namespace std;
using namespace dev;
@@ -130,6 +131,9 @@ BOOST_AUTO_TEST_CASE(persistence)
BOOST_AUTO_TEST_CASE(messages)
{
+ if (test::Options::get().nonetwork)
+ return;
+
cnote << "Testing load/save Whisper messages...";
VerbosityHolder setTemporaryLevel(2);
unsigned const TestSize = 3;
@@ -211,6 +215,9 @@ BOOST_AUTO_TEST_CASE(corruptedData)
BOOST_AUTO_TEST_CASE(filters)
{
+ if (test::Options::get().nonetwork)
+ return;
+
cnote << "Testing filters saving...";
VerbosityHolder setTemporaryLevel(2);
h256 persistID(0xC0FFEE);