take out poolSize param in dispatcher
diff --git a/test/test-dispatcher.cc b/test/test-dispatcher.cc
index e3918f8..f81d807 100644
--- a/test/test-dispatcher.cc
+++ b/test/test-dispatcher.cc
@@ -71,9 +71,9 @@
cleanDir(dir1);
cleanDir(dir2);
- Dispatcher d1(user1, folder, dir1, ccnx1, 2, false);
+ Dispatcher d1(user1, folder, dir1, ccnx1);
usleep(100);
- Dispatcher d2(user2, folder, dir2, ccnx2, 2, false);
+ Dispatcher d2(user2, folder, dir2, ccnx2);
usleep(1000000);
@@ -87,7 +87,10 @@
ofstream ofs;
ofs.open(abf.string().c_str());
- ofs << words;
+ for (int i = 0; i < 1000; i ++)
+ {
+ ofs << words;
+ }
ofs.close();
d1.Did_LocalFile_AddOrModify(filename);