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: fix flaky cucumber tests involving transactions #3169

Merged

Conversation

hansieodendaal
Copy link
Contributor

Description

Added exception handling to gRPC methods submitting transactions in cucumber integration test steps. Async timing is not always favourable to conclude a transaction; retrying a transaction if it returns an error is important for test robustness.

Motivation and Context

See above.

How Has This Been Tested?

Running cucumber tests locally

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

Added exception handling to gRPC methods submitting transactions in
cucumber integration test steps. Async timing is not always favourable
to conclude a transaction; retrying a transaction if it returns an
error is important for test robustness.
@hansieodendaal hansieodendaal force-pushed the ho_fix_flaky_cucumber branch from d816a51 to a997a4f Compare August 6, 2021 14:36
@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 6, 2021

PR queued successfully. Your position in queue is: 1

@stringhandler stringhandler changed the title fix: fix flaky cucumber tests involving transactions test: fix flaky cucumber tests involving transactions Aug 6, 2021
@aviator-app aviator-app bot merged commit 5696c23 into tari-project:development Aug 6, 2021
@hansieodendaal hansieodendaal deleted the ho_fix_flaky_cucumber branch August 10, 2021 06:43
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