summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 13:28:59 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 13:28:59 +0100
commit84c0f9cdd9ca2b35d61b09c471b64bb2de738f12 (patch)
tree0d92c8047d989713a4451eb4edfe3f2bbbb90d2a
parentfa61fc99549264810e17fcd35abffe9e8ddab5b2 (diff)
Attempt to fix random test failures due to examine content jobs not quite finishing.
-rw-r--r--test/test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.cc b/test/test.cc
index 37002dce6..772504563 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -306,6 +306,12 @@ wait_for_jobs ()
}
}
+ /* Wait for a little to make sure that examine-content jobs have had time to
+ signal the UI to do the content addition.
+ XXX: nasty
+ */
+ dcpomatic_sleep (1);
+
signal_manager->ui_idle ();
/* Discard all jobs so we lose any we just reported an error in */