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

Fixed issue where TEST_DISABLE_RETRIES_AND_TIMEOUTS would get always evaluated to True #10480

Merged
merged 1 commit into from Mar 18, 2024

Conversation

Morijarti
Copy link
Contributor

Motivation

In current implementation TEST_DISABLE_RETRIES_AND_TIMEOUTS would get evaluated to True regardless if it was set to 0 or 1. Only way to get it to be false is to remove it from env variables

Changes

Replaced os.environ.get with is_env_true

@Morijarti Morijarti added the semver: patch Non-breaking changes which can be included in patch releases label Mar 18, 2024
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks for the fix! LGTM! 🐞

Copy link

LocalStack Community integration with Pro

    2 files      2 suites   1h 29m 47s ⏱️
2 725 tests 2 470 ✅ 255 💤 0 ❌
2 727 runs  2 470 ✅ 257 💤 0 ❌

Results for commit 43d215f.

@Morijarti Morijarti marked this pull request as ready for review March 18, 2024 16:37
@Morijarti Morijarti merged commit 9e8d967 into master Mar 18, 2024
32 checks passed
@Morijarti Morijarti deleted the fix/env_test_dissable_retries_not_processed branch March 18, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants