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

Address issues with flakiness of DRep Activity test #5830

Merged
merged 7 commits into from
May 13, 2024

Conversation

palas
Copy link
Contributor

@palas palas commented May 7, 2024

Description

DRep Activity test was disabled because it was failing often. This PR aims to address this issues and reenable it.

It seems the flakiness was due to two things:

  • Using foldEpochState repeatedly, I am now polling with getEpochState instead.
  • Using only 100 slots per epoch, I am now using 200.

I will remove the last two commits when it gets approved and before merging.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. These may include:
    • golden tests
    • property tests
    • roundtrip tests
    • integration tests
      See Runnings tests for more details
  • Any changes are noted in the CHANGELOG.md for affected package
  • The version bounds in .cabal files are updated
  • CI passes. See note on CI. The following CI checks are required:
    • Code is linted with hlint. See .github/workflows/check-hlint.yml to get the hlint version
    • Code is formatted with stylish-haskell. See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
    • Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7
  • Self-reviewed the diff

@palas palas self-assigned this May 7, 2024
@palas palas requested review from a team as code owners May 7, 2024 16:40
@palas palas force-pushed the ci/debug-drep-activity branch 6 times, most recently from 63820ca to 42cd402 Compare May 8, 2024 23:03
@palas palas requested a review from Jimbo4350 May 8, 2024 23:20
@palas palas force-pushed the ci/debug-drep-activity branch 4 times, most recently from 12a568e to 2244677 Compare May 9, 2024 22:03
@palas palas requested review from Jimbo4350, carbolymer and newhoggy May 9, 2024 23:06
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

Better but comments are still missing.

@palas palas force-pushed the ci/debug-drep-activity branch from aa8a4f0 to a3c589c Compare May 13, 2024 17:57
@palas palas force-pushed the ci/debug-drep-activity branch from a3c589c to 5935b8e Compare May 13, 2024 19:44
@palas palas requested a review from Jimbo4350 May 13, 2024 19:47
@palas palas force-pushed the ci/debug-drep-activity branch from 5935b8e to 88c6839 Compare May 13, 2024 19:50
@palas palas dismissed Jimbo4350’s stale review May 13, 2024 19:52

Already addressed

@palas palas enabled auto-merge May 13, 2024 20:05
@palas palas added this pull request to the merge queue May 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2024
@palas palas added this pull request to the merge queue May 13, 2024
Merged via the queue into master with commit 6c866f0 May 13, 2024
22 checks passed
@palas palas deleted the ci/debug-drep-activity branch May 13, 2024 23:21
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.

4 participants