From c766e2ad136d846d28f0b4020a62f86d2fd4e64b Mon Sep 17 00:00:00 2001 From: Alex Skrenchuk Date: Mon, 23 Sep 2024 17:07:13 -0700 Subject: [PATCH] Fix intermittent unit test failures by adding sleep(1) fix for #21 --- test/test_annotator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_annotator.rb b/test/test_annotator.rb index 755c99c1..f63e0235 100644 --- a/test/test_annotator.rb +++ b/test/test_annotator.rb @@ -71,6 +71,7 @@ def test_all_classes_in_cache def test_generate_dictionary_file start_timestamp = Time.now + sleep(1) ontologies = AnnotatorUnit.ontologies.dup class_pages = TestAnnotator.all_classes(ontologies) assert class_pages.length > 100, "No classes in system ???"