projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa61fc9
)
Attempt to fix random test failures due to examine content jobs not quite finishing.
author
Carl Hetherington
<cth@carlh.net>
Wed, 3 Jun 2015 12:28:59 +0000
(13:28 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 3 Jun 2015 12:28:59 +0000
(13:28 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 37002dce6fadd81f973d098eee9b0a1ec54aa231..7725045632380ee4191f22e9309a734bf86530fa 100644
(file)
--- 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 */