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

fix(tests): Increasing Mocha timeouts #2649

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Conversation

sbosio
Copy link
Contributor

@sbosio sbosio commented Feb 20, 2024

Description

Here we're increasing the Mocha timeouts for async calls to avoid failures on integration and acceptance tests that work spinning up one-off dynos, because our test app was moved from the Common Runtime to one of our Private Spaces and the start up time for one-off dynos on PS exceeds the timeout of one minute.

The terminal configuration also changes between Common Runtime and Private Spaces, changing the line termination from Unix (\n) to DOS (\r\n).

We changed the tests using heroku run command to set the dyno size to private-s.

Testing

There's no behavior effected for the actual CLI, this only changes a configuration when running tests.

SOC2 Compliance

GUS Work Item

Copy link
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

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

LGTM

@sbosio sbosio changed the title Increasing Mocha timeouts fix(tests): Increasing Mocha timeouts Feb 20, 2024
@sbosio sbosio merged commit fe49fa0 into main Feb 20, 2024
8 checks passed
@sbosio sbosio deleted the sbosio/increase_mocha_timeout branch February 20, 2024 22:53
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.

3 participants