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(z:acceptance): fix flakey z:acceptance/vaults.test.js #10643

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

anilhelvaci
Copy link
Collaborator

closes: #10599

Description

#10599 pointed out a flakiness in z:acceptance/vaults.test.js. Investigations showed the problem was because of the batched IST fee which is charged for every 10 offers for a given user. We started using tryISTBalance instead of a direct assertion.

Security Considerations

None.

Scaling Considerations

Making sure there are no flakiness in a3p-integration/z:acceptance tests is important as it affects other PRs in the CI. This should fix one of the discovered ones.

Documentation Considerations

None.

Testing Considerations

This should unblock other PRs CI process. No other considerations.

Upgrade Considerations

z:acceptance tests run before every upgrade.

@anilhelvaci anilhelvaci requested a review from a team as a code owner December 8, 2024 15:20
@anilhelvaci anilhelvaci added the force:integration Force integration tests to run on PR label Dec 8, 2024
@anilhelvaci anilhelvaci force-pushed the anil/10599-fix-flakey branch from 6e9be33 to 40545af Compare December 8, 2024 22:52
Copy link

cloudflare-workers-and-pages bot commented Dec 8, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 82447f3
Status: ✅  Deploy successful!
Preview URL: https://c19ab033.agoric-sdk.pages.dev
Branch Preview URL: https://anil-10599-fix-flakey.agoric-sdk.pages.dev

View logs

Copy link
Contributor

@Chris-Hibbert Chris-Hibbert left a comment

Choose a reason for hiding this comment

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

TIL: t.try()

@anilhelvaci anilhelvaci added the automerge:rebase Automatically rebase updates, then merge label Dec 9, 2024
closes: #10599

fix: remove TODO comment

fix: format fix
@anilhelvaci anilhelvaci force-pushed the anil/10599-fix-flakey branch from 40545af to 82447f3 Compare December 9, 2024 21:14
@mergify mergify bot merged commit 74ab972 into master Dec 9, 2024
81 checks passed
@mergify mergify bot deleted the anil/10599-fix-flakey branch December 9, 2024 22:00
@0xpatrickdev
Copy link
Member

TIL: t.try()

+1, nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge force:integration Force integration tests to run on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

z:acceptance "user can open a vault under debt limit" is flakey
3 participants