commit | cf66b9cbf898bc64ffbd664ae160eac0ecb07383 | [log] [tgz] |
---|---|---|
author | Salome Maro <salomehonest@gmail.com> | Mon Apr 29 17:09:01 2019 +0200 |
committer | Salome Maro <salomehonest@gmail.com> | Mon Apr 29 17:12:50 2019 +0200 |
tree | ed6c08505f170d92e965b558a7292fffbc72f2b3 | |
parent | 83d60335e316e7c0f6b8eb17c15be95b653924e2 [diff] |
Bug 546829: Increased waiting time for notification tests The notification tests test if the respective markers are created when artifacts connected by trace links change. The creation of markers take some time and therefore a UI_REACTION_WAITING_TIME was set to 500 milliseconds. This seems not enough as the tests still fail sometimes when the server is busy. To deal with this, the waiting time has been increases to 1000 milliseconds.
diff --git a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationCMethod.java b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationCMethod.java index caa7b02..ef52b07 100644 --- a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationCMethod.java +++ b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationCMethod.java
@@ -68,7 +68,7 @@ private static final String TEST_PROJECT_NAME = "TestProject"; private static final int NUMBER_OF_RETRIES = 5; - private static final int UI_REACTION_WAITING_TIME = 500; + private static final int UI_REACTION_WAITING_TIME = 1000; @Before
diff --git a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationEObject.java b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationEObject.java index 60d726a..92f37b1 100644 --- a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationEObject.java +++ b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationEObject.java
@@ -82,7 +82,7 @@ private static final String TEST_PROJECT_NAME = "TestProject"; private static final int NUMBER_OF_RETRIES = 5; - private static final int UI_REACTION_WAITING_TIME = 500; + private static final int UI_REACTION_WAITING_TIME = 1000; @Before public void init() throws CoreException {
diff --git a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationFile.java b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationFile.java index b7ecc7c..bfdaab9 100644 --- a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationFile.java +++ b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationFile.java
@@ -64,7 +64,7 @@ private static final String TEST_FILE2_NAME = "TestFile2"; private static final String TEST_FILE1_NAME = "TestFile1"; - private static final int UI_REACTION_WAITING_TIME = 500; + private static final int UI_REACTION_WAITING_TIME = 1000; @Before public void init() throws CoreException {
diff --git a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationJavaMethod.java b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationJavaMethod.java index ac385f0..c616675 100644 --- a/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationJavaMethod.java +++ b/tests/org.eclipse.capra.testsuite/src/org/eclipse/capra/testsuite/notification/TestNotificationJavaMethod.java
@@ -67,7 +67,7 @@ private static final String CLASS_A_NAME = "A"; private static final String MODEL_A_NAME = "modelA"; - private static final int UI_REACTION_WAITING_TIME = 500; + private static final int UI_REACTION_WAITING_TIME = 1000; private static final int NUMBER_OF_RETRIES = 5; @Before