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(test): improve log wait condition to fix taker restart test #2125

Merged
merged 1 commit into from
May 23, 2024

Conversation

dimxy
Copy link
Collaborator

@dimxy dimxy commented May 23, 2024

Test test_taker_completes_swap_after_taker_payment_spent_while_offline sometimes fails, apparently due to too early taker stop, so it does not have time to send p2p message with taker payment data to the maker.
This fix improves the test log wait condition to ensure the p2p message is sent and only then taker stops.

@dimxy dimxy requested a review from shamardy May 23, 2024 10:31
@dimxy dimxy changed the title fix(test): improve log wait condition to prevent taker offline test to fail fix(test): improve log wait condition to fix taker restart test May 23, 2024
@shamardy shamardy merged commit 13c6cef into dev May 23, 2024
22 of 27 checks passed
@shamardy shamardy deleted the fix-taker-offline-test branch May 23, 2024 12:27
dimxy added a commit to dimxy/komodo-defi-framework that referenced this pull request Jun 17, 2024
* dev:
  fix(indexeddb): window usage in worker env (KomodoPlatform#2131)
  feat(tx-history): handle encoded transaction values (KomodoPlatform#2133)
  fix(core): tendermint withdraws on hd accounts (KomodoPlatform#2130)
  fix(core): improve validation rules for table names (KomodoPlatform#2123)
  fix(test): improve log wait condition to fix taker restart test (KomodoPlatform#2125)
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.

2 participants