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: improve cucumber scenario robustness #3599

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

hansieodendaal
Copy link
Contributor

Description

Improved cucumber scenario robustness by explicitly waiting on the command mode to finish before proceeding with the next step for:

  • Scenario: Wallet imports spent outputs that become invalidated
  • Scenario: Wallet imports reorged outputs that become invalidated

Motivation and Context

The above-mentioned tests failed now and again, at least 1 in 10.

How Has This Been Tested?

Repeatedly running these tests 10 times on two different computers.

  • npm test -- --name "Wallet imports spent outputs that become invalidated"
  • npm test -- --name "Wallet imports reorged outputs that become invalidated"

Improved cucumber scenario robustness by explicitly waiting on the command
mode to finish before proceeding with the next step for:
- Scenario: Wallet imports spent outputs that become invalidated
- Scenario: Wallet imports reorged outputs that become invalidated
Copy link
Contributor

@philipr-za philipr-za left a comment

Choose a reason for hiding this comment

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

Looks good, the title needs to be fixed though

@philipr-za philipr-za changed the title Improve cucumber scenario robustness fix: improve cucumber scenario robustness Nov 22, 2021
@aviator-app aviator-app bot removed the mq-failed label Nov 22, 2021
@hansieodendaal hansieodendaal changed the title fix: improve cucumber scenario robustness test: improve cucumber scenario robustness Nov 22, 2021
@aviator-app aviator-app bot merged commit cc846cd into tari-project:development Nov 23, 2021
sdbondi added a commit to sdbondi/tari that referenced this pull request Nov 23, 2021
* development:
  fix: seed word parsing (tari-project#3607)
  feat: add ban peers metric (tari-project#3605)
  feat!: expose reason for transaction cancellation for callback in wallet_ffi (tari-project#3601)
  test: improve cucumber scenario robustness (tari-project#3599)
  feat: use CipherSeed wallet birthday for recovery start point (tari-project#3602)
  docs: ignore RFC code blocks (tari-project#3603)
@hansieodendaal hansieodendaal deleted the ho_fix_cucumber branch November 24, 2021 12:16
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