Skip to content

Commit

Permalink
Fix intermittent unit test failures by adding sleep(1)
Browse files Browse the repository at this point in the history
fix for #21
  • Loading branch information
alexskr committed Sep 24, 2024
1 parent 2fb892f commit c766e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_annotator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ???"
Expand Down

0 comments on commit c766e2a

Please sign in to comment.