fix flaky test filter_controller_test.exs:200 #239

Merged
floatingghost merged 1 commit from ilja/akkoma:fix_flaky_filter_controller_test.exs_200 into develop 2022-11-01 14:42:43 +00:00
Contributor

The flakyness was actually already fixed by adding a timediff. But here I'm mocking time which gives a more precise test. It does require the test to be sync. I add this PR here to be complete, feel free to discard if you think the current sollution was better/already good enough.

The flakyness was actually already fixed by adding a timediff. But here I'm mocking time which gives a more precise test. It does require the test to be sync. I add this PR here to be complete, feel free to discard if you think the current sollution was better/already good enough.
ilja added 1 commit 2022-10-23 11:12:19 +00:00
fix flaky test filter_controller_test.exs:200
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
a59d310982

yeah i think i agree with you here, whilst the last solution does work, it does still rely on the system clock which is bound to go weird at points

yeah i think i agree with you here, whilst the last solution does work, it does still rely on the system clock which is bound to go weird at points
floatingghost merged commit d5bbc3eeb2 into develop 2022-11-01 14:42:43 +00:00
floatingghost deleted branch fix_flaky_filter_controller_test.exs_200 2022-11-01 14:42:43 +00:00
Sign in to join this conversation.
No description provided.