Skip to content

tests: Do not update time by default on BaseTransaction.resolve()#669

Merged
msbrogli merged 1 commit intomasterfrom
tests/tx-resolve
Jun 15, 2023
Merged

tests: Do not update time by default on BaseTransaction.resolve()#669
msbrogli merged 1 commit intomasterfrom
tests/tx-resolve

Conversation

@msbrogli
Copy link
Member

I noticed that many flaky tests fail with a "future transaction" exception, possibly caused by the BaseTransaction.resolve(). As this is used only for testing, we can safely change its behavior.

Acceptance criteria

  1. Stop updating time by default on BaseTransaction.resolve().

@msbrogli msbrogli added the tests label Jun 15, 2023
@msbrogli msbrogli requested a review from glevco June 15, 2023 05:04
@msbrogli msbrogli requested a review from jansegre as a code owner June 15, 2023 05:04
@msbrogli msbrogli self-assigned this Jun 15, 2023
@msbrogli msbrogli merged commit 7d1f4cd into master Jun 15, 2023
@msbrogli msbrogli deleted the tests/tx-resolve branch June 15, 2023 15:09
@jansegre jansegre mentioned this pull request Jul 12, 2023
2 tasks
This was referenced Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants