Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce pauses for faster tests #27

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Reduce pauses for faster tests #27

merged 1 commit into from
Oct 12, 2023

Conversation

djmb
Copy link
Contributor

@djmb djmb commented Oct 11, 2023

Reduce the pause and wait times so the test complete faster. It was taking about 144 seconds, now it's 48 seconds.

cc @rosa

Reduce the pause and wait times so the test complete faster. It was
taking about 144 seconds, now it's 48 seconds.
@rosa
Copy link
Member

rosa commented Oct 11, 2023

Thanks a lot, @djmb! It was something I had pending to do, review all the pauses and waiting times 😅

@@ -21,7 +21,7 @@ class JobsLifecycleTest < ActiveSupport::TestCase
@scheduler.start(mode: :async)
@worker.start(mode: :async)

wait_for_jobs_to_finish_for(5.seconds)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a left-over from me trying to debug an error and having to wait very long, so I had time to do some queries to the DB in a separate terminal 😆 I forgot to move them back to something more reasonable.

@djmb djmb merged commit b7b960b into main Oct 12, 2023
@djmb djmb deleted the faster-tests branch October 12, 2023 07:04
hms pushed a commit to ikyn-inc/solid_queue that referenced this pull request Aug 5, 2024
Implement different features supported by Solid Queue adapters, including a workers view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants