Fix race in test_crd_check_duplicate

This test depends on an ordered build history, which means that we
need to control when the builds are complete (with the worker),
rather than when they start (with gearman).

Change-Id: Ib667ddf2a60a473f02d0e85f227862997e459c3d
1 file changed