Skip to content
Snippets Groups Projects
Commit b2ddb615 authored by Ramin Yaghoubzadeh Torky's avatar Ramin Yaghoubzadeh Torky
Browse files

C++: ipaaca-json component: inserted some delays for testing resend.

(Note: should be removed later / merged into ipaaca-tester-cpp).
parent 22e0f632
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,9 @@ int batch_update_main(int argc, char** argv)//{{{
std::cout << std::endl << "Publishing IU (sniffer should receive one ADDED)" << std::endl;
ob->add(iu);
std::cout << "Waiting 5 sec" << std::endl;
sleep(5);
std::cout << std::endl << "Batch-writing some stuff (sniffer should receive a single UPDATED)" << std::endl;
{
ipaaca::Locker locker(iu->payload());
......@@ -119,6 +122,8 @@ int batch_update_main(int argc, char** argv)//{{{
std::cout << " " << it.first << " -> " << it.second << std::endl;
}
std::cout << "Waiting 2 sec" << std::endl;
sleep(2);
return 0;
}
//}}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment