Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2020-03-24 12:27:59 +0000
committerThomas Wolf2020-03-24 12:34:39 +0000
commit9c1256369abe5e8d891eb1ab0f0ca15adfd52217 (patch)
treea664296bdc0b58a602eea5a427aa04bf46bcd08f /org.eclipse.egit.ui.test/src
parent0b8a8b9d12063aab746d42a2bbbc0bb45a59c64c (diff)
downloadegit-9c1256369abe5e8d891eb1ab0f0ca15adfd52217.tar.gz
egit-9c1256369abe5e8d891eb1ab0f0ca15adfd52217.tar.xz
egit-9c1256369abe5e8d891eb1ab0f0ca15adfd52217.zip
[history view test] Fix bug in GenerateHistoryJob
The test failed because the job sometimes would not update the UI. Change-Id: I38d357c6029b551d1e0516bbe9ca2c37e3839fea
Diffstat (limited to 'org.eclipse.egit.ui.test/src')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java2
1 files changed, 0 insertions, 2 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 5510c8c3f8..8c035e2622 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
@@ -615,7 +615,6 @@ public class HistoryViewTest extends GitRepositoriesViewTestBase {
private void assertCommitsAfterBase(SWTBotTable table, String... commitMsgs)
throws Exception {
- TestUtil.waitForJobs(50, 5000);
// There are three expected fixed commits, plus then the ones given in
// the parameter.
int expectedNumberOfCommits = commitMsgs.length + 3;
@@ -645,7 +644,6 @@ public class HistoryViewTest extends GitRepositoriesViewTestBase {
assertThat("Expected different commits",
getCommitMsgsFromUi(table),
is(arrayContainingInAnyOrder(matchers)));
- table.unselect();
}
@Test

Back to the top