Skip to content
Snippets Groups Projects
Commit d181dfb4 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

add timeout to the multithread broker test

parent ad89114b
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ void TestAll(const Args& args) {
asapo::Error err;
auto broker = asapo::DataBrokerFactory::CreateServerBroker(args.server, "dummy", asapo::SourceCredentials{args.run_name, "", args.token}, &err);
auto group_id = broker->GenerateNewGroupId(&err);
broker->SetTimeout(10000);
std::vector<asapo::FileInfos>file_infos(args.nthreads);
auto exec_next = [&](int i) {
asapo::FileInfo fi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment