From ed40b301670fe4f10129729541a4d5f7c4826efb Mon Sep 17 00:00:00 2001 From: Stephan Herrmann Date: Wed, 8 Aug 2018 15:11:48 +0200 Subject: More robustness for test5317_concurrentActivation1() - try some warm-up before the real test --- .../otdt/tests/otjld/teamactivation/ImplicitTeamActivation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/teamactivation/ImplicitTeamActivation.java b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/teamactivation/ImplicitTeamActivation.java index 97f86f163..d9f56cf02 100644 --- a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/teamactivation/ImplicitTeamActivation.java +++ b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/teamactivation/ImplicitTeamActivation.java @@ -1901,6 +1901,8 @@ public class ImplicitTeamActivation extends AbstractOTJLDTest { " }\n" + " }\n" + " void run() {\n" + + " if ( Team5317ca1_2.class == null || Team5317ca1_1.class == null) return;\n" + // warm-up + " if ( sleep(1000) ) return;\n" + " Thread[] threads = new Thread[] {\n" + " new Thread(new Run5317ca1_1()),\n" + " new Thread(new Run5317ca1_1()),\n" + -- cgit v1.2.3