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(acceptance): fix flakey psm test #10747

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Conversation

anilhelvaci
Copy link
Collaborator

closes: #10728

Description

Using -bblock caused inconsistent timeout behavior due to txs not getting into a block on time. psm.test.js is observed to be the only test that sends transactions with -bblock set. In this PR we switch to the default option which is sync.

Security Considerations

None.

Scaling Considerations

Removing flakiness will help landing code faster.

Documentation Considerations

None.

Testing Considerations

Should force integration tests.

Upgrade Considerations

z:acceptance runs after every upgrade.

@anilhelvaci anilhelvaci added the force:integration Force integration tests to run on PR label Dec 19, 2024
@anilhelvaci anilhelvaci requested a review from a team as a code owner December 19, 2024 18:20
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.

Was this supposed to drop skip from a test? That (and CI passing) would help convince me this is correct.

I'm not familiar with sendOfferAgd but I'd approve it with a passing test.

@anilhelvaci
Copy link
Collaborator Author

There was no skipped test to begin with. The tests passed when the job is re-run.

sendOfferAgd was there before. Uses agdWalletUtils from @agoric/client-utils I believe. The CI passing is now and psm.test.js now uses sendOfferAgd.

@anilhelvaci anilhelvaci added the automerge:rebase Automatically rebase updates, then merge label Dec 26, 2024
@anilhelvaci anilhelvaci force-pushed the anil/10728-fix-tx-timeout branch from 5e9b3bc to 6f84f5a Compare December 26, 2024 17:27
Copy link

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

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6f84f5a
Status: ✅  Deploy successful!
Preview URL: https://779df158.agoric-sdk.pages.dev
Branch Preview URL: https://anil-10728-fix-tx-timeout.agoric-sdk.pages.dev

View logs

@mergify mergify bot merged commit 820badf into master Dec 26, 2024
81 checks passed
@mergify mergify bot deleted the anil/10728-fix-tx-timeout branch December 26, 2024 18:18
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.

psm.test.js behaves flakey in z:acceptance
2 participants