Open AnuyaWelling2801 opened 1 month ago
@AnuyaWelling2801 Could you please extract this two typical peace of code in your test into some functions?
1)
for(int i=0;i<n_threads;i++){
threads.emplace_back(thread_func);
}
2)
for(auto& thread : threads){
thread.join();
}
There are a lot of this code...
@AnuyaWelling2801 another question: For example, we have some code like this:
if (!pass)
{
std::cout << "ERROR: did not select expected resources\n";
return 1;
}
in the function test_submit_and_wait_on_group
and in some other functions.
The question: should we continue test is it's happen (!pass
) ?
And if so, should this affect the outcome of the entire test?
CI is red...
Added Parallel tests for
More to be added either in this PR or a separate PR