question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fix the flaky tests

See original GitHub issue

Describe the bug

The tests that routinely fail on Windows — ‘prefetches programmatically’ and ‘url-supplied anchor is ignored with onMount()’ spring to mind — are a real nuisance. Getting these to pass reliably is probably the single biggest contribution someone could make relative to the development effort involved (though having said that, I’ve tried and failed)

Reproduction

Open a random PR and look at the checks

Logs

No response

System Info

N/A

Severity

annoyance

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
PH4NTOMikicommented, Jan 30, 2022

@bluwy @benmccann I see that other platforms (macos, linix)return flanky tests too, so I don’t think it’s that much of an issue.

0reactions
PH4NTOMikicommented, Jan 30, 2022

@bluwy It’s pretty much the same situation for 2 and 4, I’ll also check the tests, maybe there are some other error in them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Flaky Tests - Semaphore CI
The first appearance of a flaky test is the best moment to fix it. Maybe the test is new, or a recent commit...
Read more >
How to Deal with Flaky Tests - The New Stack
1. Visualizing Test Runs · 2. Quarantining Flaky Tests · 3. Cleaning up State · 4. Looking for Timeouts · 5. Using Test...
Read more >
7 Steps To Fix Flaky Tests - Undo.io
Give them the space and time to debug flaky tests; Empower them to quickly and efficiently diagnose the root cause of flakiness, by...
Read more >
Flaky Tests: Getting Rid Of A Living Nightmare In Testing
This one is self-explanatory: Simply delete the flaky test, so that it doesn't disturb your test suite anymore. Sure, it will save you...
Read more >
How to reduce flaky test failures - CircleCI
How to prevent flaky tests · Avoid asynchronous waits by watching for timeouts and delays when loading data · Mock out calls to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found