From 6c9b53ea60d5ed9f04da939e863855071e627a36 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 4 Nov 2014 13:31:02 -0500 Subject: [PATCH] Use TestsPlugin.massageTimeout in resumeUntilStopped The targets that define dsf.gdb.tests.timeout.multiplier need extra time to execute in resumeUntilStopped. Change-Id: I2de513ea2de63d4276a49fb6daa4aa6892a5e843 Signed-off-by: Simon Marchi Reviewed-on: https://git.eclipse.org/r/35907 Reviewed-by: Marc Khouzam Tested-by: Marc Khouzam --- .../src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java index 348337e7de7..fdad2b8cb0f 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java @@ -311,7 +311,7 @@ public class SyncUtil { }); // Wait for the execution to suspend after the step - return eventWaitor.waitForEvent(timeout); + return eventWaitor.waitForEvent(TestsPlugin.massageTimeout(timeout)); } public static MIStoppedEvent resumeUntilStopped() throws Throwable {