git: fix tests

Task.queue() should be called from EDT
it was broken in 7281d44 - BackgroundTaskQueue allows non-EDT access
This commit is contained in:
Aleksey Pivovarov
2016-05-25 18:59:48 +03:00
parent 801995bcb7
commit f9cc8003b6
+1 -1
View File
@@ -168,7 +168,7 @@ public class GitVcs extends AbstractVcs<CommittedChangeList> {
* @param task the task to run
*/
public static void runInBackground(Task.Backgroundable task) {
task.queue();
UIUtil.invokeLaterIfNeeded(() -> task.queue());
}
@Override