Skip to content

[Tooling] Flaky tests #192

@deblasis

Description

@deblasis

Objective

Tests should be deterministic

Origin Document

It looks like that some of our tests are flaky, just logging this for now, I need to dive deeper to understand the root cause(s), it might be something very easy.

A couple of examples:

https://github.com/pokt-network/pocket/runs/8227176834?check_suite_focus=true
https://github.com/pokt-network/pocket/runs/8187453124?check_suite_focus=true

But it can be verified locally with multiple executions of

make test_all

First run 👍

image

Second run 💩

image

Goals

  • Identify the flaky tests
  • Fix them
  • Document (if you think it's necessary) the root cause for future reference

Deliverable

  • Deterministic test suite

Non-goals / Non-deliverables

  • ...

[Optional] Testing Methodology

  • All tests: make test_all
  • LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @deblasis
Co-Owners: @Olshansk

Metadata

Metadata

Assignees

Labels

consensusConsensus specific changestoolingtooling to support development, testing et al

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions