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

Make test cluster epoch length twice as long #2698

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Jun 9, 2021

Issue Number

ADP-979

Overview

  • Make epoch length twice as long to help epoch-sensitive tests (see commit message)

Comments

@Anviking Anviking requested a review from jonathanknowles June 9, 2021 18:40
@Anviking
Copy link
Member Author

Anviking commented Jun 9, 2021

bors try

iohk-bors bot added a commit that referenced this pull request Jun 9, 2021
In some stake pool tests we use `waitForNextEpoch` to ensure some
requests and assertions occur within the same epoch.

Recent reward-related CI failures suggest that they experience an epoch
changes regardless.

To try to alleviate the problem, this commits doubles the epoch length.

The downside is that tests could take longer. With -j 6 locally I see
no meaningful regression. With -j 3 in CI there could maybe be, but if
it provides better stability it would be worth it regardless.
@Anviking Anviking force-pushed the anviking/ADP-979/double-epoch-length branch from 1bb9ea9 to 9bf8eea Compare June 9, 2021 18:45
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 9, 2021

try

Build failed:

  PATCH /wallets/0000000000000000000000000000000000000000/transactions/0000000000000000000000000000000000000000000000000000000000000000
     CONNECT /wallets/0000000000000000000000000000000000000000/transactions/0000000000000000000000000000000000000000000000000000000000000000
     TRACE /wallets/0000000000000000000000000000000000000000/transactions/0000000000000000000000000000000000000000000000000000000000000000
     OPTIONS /wallets/0000000000000000000000000000000000000000/transactions/0000000000000000000000000000000000000000000000000000000000000000
     PUT /wallets/0000000000000000000000000000000000000000/utxo
     POST /wallets/0000000000000000000000000000000000000000/utxo
     PATCH /wallets/0000000000000000000000000000000000000000/utxo
     DELETE /wallets/0000000000000000000000000000000000000000/utxo
     CONNECT /wallets/0000000000000000000000000000000000000000/utxo
     TRACE /wallets/0000000000000000000000000000000000000000/utxo
     OPTIONS /wallets/0000000000000000000000000000000000000000/utxo
Cardano.Wallet.DB.MVar
  MVar
    Extra Properties about DB initialization
building of '/nix/store/b4l91wzd8d8iy7dfv5399ik7yrgasb05-cardano-wallet-core-test-unit-2021.5.26-check' timed out after 900 seconds of silence

@Anviking
Copy link
Member Author

Anviking commented Jun 9, 2021

bors try

iohk-bors bot added a commit that referenced this pull request Jun 9, 2021
@Anviking Anviking self-assigned this Jun 9, 2021
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 9, 2021

try

Build succeeded:

@Anviking
Copy link
Member Author

Anviking commented Jun 9, 2021

bors try

iohk-bors bot added a commit that referenced this pull request Jun 9, 2021
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 9, 2021

try

Build succeeded:

Copy link
Contributor

@rvl rvl left a comment

Choose a reason for hiding this comment

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

Great. I think this change will help.

@rvl
Copy link
Contributor

rvl commented Jun 10, 2021

bors r+

iohk-bors bot added a commit that referenced this pull request Jun 10, 2021
2698: Make test cluster epoch length twice as long r=rvl a=Anviking

# Issue Number

<!-- Put here a reference to the issue that this PR relates to and which requirements it tackles. Jira issues of the form ADP- will be auto-linked. -->

ADP-979


# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] Make epoch length twice as long to help epoch-sensitive tests (see commit message)


# Comments

<!-- Additional comments or screenshots to attach if any -->

<!--
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding ticket
 ✓ Acknowledge any changes required to the Wiki
 ✓ Finally, in the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages.
-->


Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 10, 2021

Build failed:

weeder
error: Command exited with code -9!
Continuing...

#2695

@Anviking
Copy link
Member Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 10, 2021

Build succeeded:

@iohk-bors iohk-bors bot merged commit a7f6afa into master Jun 10, 2021
@iohk-bors iohk-bors bot deleted the anviking/ADP-979/double-epoch-length branch June 10, 2021 09:33
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