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

test: Resolve Truffle ruby intermittent failures on exporters #1752

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kaylareopelle
Copy link
Contributor

Zlib.gzip adds a timestamp, which may be different than the one in the encoded req.body due to the time difference between the request and the assertion. This caused intermittent an failure.

To resolve the problem, compare the unzipped request body with the encoded_estr to avoid Zlib timestamp interference with the equality check.

Co-authored by @tannalynn
Resolves #1507

kaylareopelle and others added 4 commits October 21, 2024 16:10
Zlib.gzip adds a timestamp, which may be different than the one in the
encoded req.body due to the test timing, and may cause an intermittent
failure. Compare the unzipped request with the encoded_estr to avoid
the timestamp interfering with the equality check.

Co-authored-by: Tanna McClure <tannalynn@users.noreply.github.com>
The assertions in this test differ from the other intermittent failures.
Hopefully, the test is not failing and was skipped because the name
of the test is the same as others.
@kaylareopelle kaylareopelle marked this pull request as ready for review October 21, 2024 23:25
@kaylareopelle kaylareopelle changed the title test: Truffle ruby intermittent failure on exporters test: Resolve Truffle ruby intermittent failure on exporters Oct 21, 2024
@kaylareopelle kaylareopelle changed the title test: Resolve Truffle ruby intermittent failure on exporters test: Resolve Truffle ruby intermittent failures on exporters Oct 21, 2024
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.

Flaky test on truffle ruby
1 participant