From: Chris Sharp Date: Thu, 24 Sep 2020 23:46:51 +0000 (-0400) Subject: account for race condition in courses live test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2002181c83f0cab35b5a230c504b0d9bd7b0d840;p=evergreen%2Fpines.git account for race condition in courses live test Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/src/perlmods/live_t/31-courses.t b/Open-ILS/src/perlmods/live_t/31-courses.t index 9ffb026cbb..befa1a075a 100644 --- a/Open-ILS/src/perlmods/live_t/31-courses.t +++ b/Open-ILS/src/perlmods/live_t/31-courses.t @@ -73,6 +73,8 @@ $e->commit; $apputils->simplereq('open-ils.courses', 'open-ils.courses.detach_material', $authtoken, 9998); +sleep 1; + $results = $e->search_asset_course_module_course_materials({id => 9998}); is(scalar(@$results), 0, 'Successfully deleted acmcm');