[syncView] Use JobJoiner in test to ensure synchronize is done
commit9414161c5aca8f41d02a2c1aed51d455b0f18f51
authorRobin Stocker <robin@nibor.org>
Fri, 18 Jan 2013 19:33:38 +0000 (18 20:33 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 20 Jan 2013 23:35:22 +0000 (21 00:35 +0100)
tree983f3101d9928e26ec18749444b96d8867719189
parent33555cc3d65392fd95e9d934f68fcf4b89eeddbf
[syncView] Use JobJoiner in test to ensure synchronize is done

By adding a sleep in the job of GitModelSynchronize, I could reproduce
some test failures. These are fixed by using JobJoiner.

Bug: 371633
Change-Id: Idf3bf4b8944c0c22127b9dfa67063b98e23c59e0
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java