Skip to content

test(consensus): skip broken PBTS tests#500

Merged
lklimek merged 2 commits intov0.10-devfrom
test-skip-pbts
Oct 28, 2022
Merged

test(consensus): skip broken PBTS tests#500
lklimek merged 2 commits intov0.10-devfrom
test-skip-pbts

Conversation

@lklimek
Copy link
Collaborator

@lklimek lklimek commented Oct 28, 2022

Issue being fixed or feature implemented

Proposer-based timestamp (PBTS) implementation is broken in current version of Tenderdash, resulting in flaky tests.

What was done?

Marked PBTS tests as skipped, to ensure they are not executed. These tests should be re-enabled/fixed once we fix PBTS.

How Has This Been Tested?

Github pipelines should not break randomly on PBTS tests.

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lklimek lklimek changed the title test(consensus): temporarily disable broken PBTS tests test(consensus): skip broken PBTS tests Oct 28, 2022
@lklimek lklimek requested a review from shumkov October 28, 2022 12:19
Copy link
Collaborator

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

👍

@lklimek lklimek merged commit 02452f1 into v0.10-dev Oct 28, 2022
@lklimek lklimek deleted the test-skip-pbts branch October 28, 2022 13:24
lklimek added a commit that referenced this pull request Dec 8, 2022
lklimek added a commit that referenced this pull request Dec 15, 2022
* fix(consensus): proposer-based timestamp is broken

* fix(consensus): initial block time  must be equal genesis time

* test(consensus): update TestStateProposalTime for PBTS

* test(consensus): fix TestStateLock_POLSafety2 for PBTS

* Revert "test(consensus): skip broken PBTS tests (#500)"

This reverts commit 02452f1.

* refactor(time): simplify time processing

* feat(log): Allow definition of log assertions in TestingLogger

* test(consensus): refactor PBTS tests

* chore(log): replace TestingLogger interface with struct

* chore(state): move block time logic to separate fn
shotonoff added a commit that referenced this pull request Dec 15, 2022
* chore(types)!: rename genesis.json quorum fields (#515)

* fix(consensus): ProcessProposal executed twice for a block (#516)

* fix(consensus): ProcessProposal executed twice for a block

* fix(consensus): ensure process proposal is called once before finalize block

* fix(consensus): ensure ProcessProposal is called at least once for a block

* build(deps): Bump actions/setup-go from 3.3.1 to 3.4.0 (#524)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump bufbuild/buf-setup-action from 1.9.0 to 1.10.0 (#525)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(consensus): proposer-based timestamp broken during backport (#523)

* fix(consensus): proposer-based timestamp is broken

* fix(consensus): initial block time  must be equal genesis time

* test(consensus): update TestStateProposalTime for PBTS

* test(consensus): fix TestStateLock_POLSafety2 for PBTS

* Revert "test(consensus): skip broken PBTS tests (#500)"

This reverts commit 02452f1.

* refactor(time): simplify time processing

* feat(log): Allow definition of log assertions in TestingLogger

* test(consensus): refactor PBTS tests

* chore(log): replace TestingLogger interface with struct

* chore(state): move block time logic to separate fn

* chore(abci)!: remove Snapshot.core_chain_locked_height (#527)

* chore(abci)!: remove Snapshot.core_chain_locked_height

* build: bump Golang to 1.19

* fix(wal): improve wal replay mechanism (#510)

* refactor: improve wal iterator

* feat: add config parameter to turn on/off skipping the WAL rounds to the last

* refactor: clean up code

* refactor: add TestWALRoundsSkipper

* fix: derive a commit from vote-set during replay

* fix: add validators priority incrementing to select proper proposer

* chore(release): update changelog and version to 0.10.0-dev.6 (#526)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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