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.

Flaky test: When_task_is_checking_synchronization_context_on_UI_thread_it_should_succeed

See original GitHub issue

When running https://ci.appveyor.com/project/dennisdoomen/fluentassertions/builds/34562293 for #1371 When_task_is_checking_synchronization_context_on_UI_thread_it_should_succeed failed. I suspect it is because it uses a RealClock together with the timing sensitive CompleteWithin. Can the intention of the test be implementation with a timing insensitive assertion?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lg2decommented, Aug 10, 2020

Please mind the sibling test without “UI”.

0reactions
jnyrupcommented, Jul 15, 2021

Yes, #1566 should hopefully have solved this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Flaky Tests - Semaphore CI
Randomly failing tests are the hardest to debug. Here's a framework you can use to fix them and keep your test suite healthy....
Read more >
Flaky Tests: Getting Rid Of A Living Nightmare In Testing
Flaky tests have even given folks nightmares and sleepless nights. In this article, Ramona Schwering shares her experiences to help you get ...
Read more >
Test Flakiness - Methods for identifying and dealing with flaky ...
A flaky test is a test that both passes and fails periodically without any code changes. Flaky tests are definitely annoying but they...
Read more >
Flaky Test Management | Cypress Documentation
What are test retries? Cypress has the ability to automatically retry failed tests to mitigate flaky tests from failing entire test runs or...
Read more >
Flaky tests - Testim overview
A test is considered flaky if it passed after a retry, meaning on the first try it failed and then after one or...
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