Skip to content

Commit

Permalink
chore(integration): Adding some delay to cope with GA machine
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed May 27, 2024
1 parent 2277b85 commit 0fc8833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/controllers/systems_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ module PlaceOS::Api
sys.modules = [module_id]
end
systems.each &.save!

sleep 1
expected_ids = expected_systems.compact_map(&.id)
total_ids = expected_ids.size

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helpers/spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module PlaceOS::Api::Spec
doc.name = name
doc.save!
sleep 1

refresh_elastic({{ klass }}.table_name)

doc.persisted?.should be_true
Expand Down

0 comments on commit 0fc8833

Please sign in to comment.