From 5007c8b3371a77ccd389660c24893d8f89b6579c Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 9 Nov 2022 07:22:21 -0500 Subject: [PATCH] Increase timeout waiting for stopped event in test Fixes #119 --- .../dsf/gdb/tests/nonstop/GDBMultiNonStopRunControlTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/nonstop/GDBMultiNonStopRunControlTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/nonstop/GDBMultiNonStopRunControlTest.java index bc527a729ad..278a40883dd 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/nonstop/GDBMultiNonStopRunControlTest.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/nonstop/GDBMultiNonStopRunControlTest.java @@ -3234,8 +3234,8 @@ public class GDBMultiNonStopRunControlTest extends BaseParametrizedTestCase { } }); - eventWaitor.waitForEvent(TestsPlugin.massageTimeout(100)); // confirm one thread was suspended - eventWaitor.waitForEvent(TestsPlugin.massageTimeout(100)); // confirm the other thread was suspended + eventWaitor.waitForEvent(TestsPlugin.massageTimeout(1000)); // confirm one thread was suspended + eventWaitor.waitForEvent(TestsPlugin.massageTimeout(1000)); // confirm the other thread was suspended // Also confirm that all processes are suspended Boolean result = runAsyncCall(new AsyncRunnable() {