Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky unit test #669

Closed
MrSerth opened this issue Sep 2, 2024 · 0 comments · Fixed by #670
Closed

Fix flaky unit test #669

MrSerth opened this issue Sep 2, 2024 · 0 comments · Fixed by #670
Labels
bug Something isn't working

Comments

@MrSerth
Copy link
Member

MrSerth commented Sep 2, 2024

=== RUN   TestInactivityTimerTestSuite/TestTimerIsNotResetAfterDeadline
time="2024-09-02T20:08:08.997039Z" level=info msg="Returning runner due to inactivity timeout" package=runner runner_id=0-MY-DEFAULT-RANDOM-UUID
    inactivity_timer_test.go:84: 
        	Error Trace:	/home/runner/work/poseidon/poseidon/internal/runner/inactivity_timer_test.go:84
        	Error:      	Should be false
        	Test:       	TestInactivityTimerTestSuite/TestTimerIsNotResetAfterDeadline
--- FAIL: TestInactivityTimerTestSuite (3.14s)
    --- PASS: TestInactivityTimerTestSuite/TestResetTimeoutExtendsTheDeadline (0.38s)
    --- PASS: TestInactivityTimerTestSuite/TestRunnerIsNotReturnedBeforeTimeout (0.25s)
    --- PASS: TestInactivityTimerTestSuite/TestRunnerIsReturnedAfterTimeout (0.30s)
    --- PASS: TestInactivityTimerTestSuite/TestSetupTimeoutStopsOldTimeout (0.50s)
    --- PASS: TestInactivityTimerTestSuite/TestStopTimeoutStopsTimeout (0.40s)
    --- PASS: TestInactivityTimerTestSuite/TestTimeoutPassedReturnsFalseBeforeDeadline (0.20s)
    --- PASS: TestInactivityTimerTestSuite/TestTimeoutPassedReturnsTrueAfterDeadline (0.40s)
    --- PASS: TestInactivityTimerTestSuite/TestTimerIsInactiveWhenDurationIsZero (0.30s)
    --- FAIL: TestInactivityTimerTestSuite/TestTimerIsNotResetAfterDeadline (0.40s)

same error as above

same error as above

same error as above

same error as above

same error as above

same error as above

same error as above

same error as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant