Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Nittka2020-03-21 14:32:43 +0000
committerThomas Wolf2020-03-22 10:58:01 +0000
commit995e65ca0a7c5a6c37dd2a85dcc3a9685a73d92f (patch)
tree537cc9c39bd2e828e707a7791d1e26ffc154e22a /org.eclipse.egit.ui.test
parent2d2f3a92f82b54b70cda6882b2e947c62179c626 (diff)
downloadegit-995e65ca0a7c5a6c37dd2a85dcc3a9685a73d92f.tar.gz
egit-995e65ca0a7c5a6c37dd2a85dcc3a9685a73d92f.tar.xz
egit-995e65ca0a7c5a6c37dd2a85dcc3a9685a73d92f.zip
history view test stability 2
Waiting for jobs in assertNoCommit did not reliably solve the sporadic HistoryViewTest failures. Other tests suggested that an unselect before changing the tree content might be better. Change-Id: I7fa74a57e1553e33160bd0e1e697310e20aee1f2 Signed-off-by: Alexander Nittka <alex@nittka.de>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
index 0e398fffbb..5510c8c3f8 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
@@ -596,7 +596,6 @@ public class HistoryViewTest extends GitRepositoriesViewTestBase {
}
private void assertNoCommit(SWTBotTable table) {
- TestUtil.waitForJobs(50, 5000);
bot.waitUntil(new DefaultCondition() {
@Override
@@ -646,6 +645,7 @@ public class HistoryViewTest extends GitRepositoriesViewTestBase {
assertThat("Expected different commits",
getCommitMsgsFromUi(table),
is(arrayContainingInAnyOrder(matchers)));
+ table.unselect();
}
@Test

Back to the top