Merge branch 'master' of git.irl.cs.ucla.edu:ndn/sync
diff --git a/test/test_ccnx_wrapper.cc b/test/test_ccnx_wrapper.cc
index b109450..588b578 100644
--- a/test/test_ccnx_wrapper.cc
+++ b/test/test_ccnx_wrapper.cc
@@ -63,9 +63,11 @@
 	string interest = "/ucla.edu/0";
 	hb.sendInterest(interest, memberFunc);
 
+	// give time for ccnd to react
+	sleep(5);
+
 	BOOST_CHECK_EQUAL(echoStr, interest);
 
-	sleep(5);
 
 	string name = "/ucla.edu/0";
 	string data = "random bits: !#$!@#$!";
@@ -73,6 +75,8 @@
 
 	hb.sendInterest(interest, memberFunc);
 
+	// give time for ccnd to react
+	sleep(5);
 	BOOST_CHECK_EQUAL(foo.s_str, data);
 
 }