account for race condition in courses live test
authorChris Sharp <csharp@georgialibraries.org>
Thu, 24 Sep 2020 23:46:51 +0000 (19:46 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 24 Sep 2020 23:46:51 +0000 (19:46 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/perlmods/live_t/31-courses.t

index 9ffb026..befa1a0 100644 (file)
@@ -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');