Skip to content

Fix flaky tests #237

@decentral1se

Description

@decentral1se

How to help

  • Pick a test from the list below 🗒️
  • Run the test over and over again until you see a failure (see below for HOWTO) 🏃‍♀️
  • If it fails, open up an issue to document your digging (e.g. TestMigrate test flaky #257) 🤓
  • Try to submit a fix 😄
  • If it doesn't fail after $a_lot_of_runs, let's re-enable it (e.g. Re-enable TestStatusCalls test #256) 🌞

Good Luck 🧑‍🚒 👷‍♀️

Testing the tests

cd graph
LIBRARIAN_WRITEALL=0 go test -v ./ -run TestBadger | tee -a test.log # wait $a_while
cat test.log | grep FAIL # check for failures
cat test.log | grep PASS$ | wc -l # count passes

TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Prioritised

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions