mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-12 13:30:19 +01:00
back to 4 threads
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
TEST_CASE( "Failed REQUIRE in the main thread is fine" ) {
|
TEST_CASE( "Failed REQUIRE in the main thread is fine" ) {
|
||||||
std::vector<std::thread> threads;
|
std::vector<std::thread> threads;
|
||||||
for ( size_t t = 0; t < 2; ++t) {
|
for ( size_t t = 0; t < 4; ++t) {
|
||||||
threads.emplace_back( [t]() {
|
threads.emplace_back( [t]() {
|
||||||
CAPTURE(t);
|
CAPTURE(t);
|
||||||
for (size_t i = 0; i < 1'000; ++i) {
|
for (size_t i = 0; i < 1'000; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user