We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2067e70 commit cc519ebCopy full SHA for cc519eb
test/integration/test_modernized_interface.cpp
@@ -368,10 +368,7 @@ class ModernizedInterfaceTest {
368
auto end_time = std::chrono::high_resolution_clock::now();
369
370
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time);
371
- if (duration.count() > 2000) { // 2-second timeout
372
- std::cout << " Signal-aware integration took too long: " << duration.count() << "ms" << std::endl;
373
- return false;
374
- }
+ ASSERT_LE(duration.count(), 2000) << "Signal-aware integration took too long: " << duration.count() << "ms";
375
376
std::cout << " Signal-aware integration result: [" << state[0] << ", " << state[1] << "]" << std::endl;
377
0 commit comments