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

TestDoInBackgroundUntilStopped is flaky #936

Open
brikis98 opened this issue Jun 21, 2021 · 0 comments
Open

TestDoInBackgroundUntilStopped is flaky #936

brikis98 opened this issue Jun 21, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@brikis98
Copy link
Member

The TestDoInBackgroundUntilStopped test is failing intermittently:

=== RUN   TestDoInBackgroundUntilStopped
=== PAUSE TestDoInBackgroundUntilStopped
=== CONT  TestDoInBackgroundUntilStopped
TestDoInBackgroundUntilStopped 2021-06-21T14:48:51Z retry.go:170: Executing action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:48:51Z retry.go:174: Sleeping for 5s before repeating action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:48:56Z retry.go:170: Executing action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:48:56Z retry.go:174: Sleeping for 5s before repeating action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:49:01Z retry.go:170: Executing action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:49:01Z retry.go:174: Sleeping for 5s before repeating action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:49:06Z retry.go:170: Executing action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:49:06Z retry.go:174: Sleeping for 5s before repeating action 'TestDoInBackgroundUntilStopped'
TestDoInBackgroundUntilStopped 2021-06-21T14:49:06Z retry.go:180: Received stop signal for action 'TestDoInBackgroundUntilStopped'.
=== CONT  TestDoInBackgroundUntilStopped
    retry_test.go:128: 
        	Error Trace:	retry_test.go:128
        	Error:      	Not equal: 
        	            	expected: 3
        	            	actual  : 4
        	Test:       	TestDoInBackgroundUntilStopped
    retry_test.go:131: 
        	Error Trace:	retry_test.go:131
        	Error:      	Not equal: 
        	            	expected: 3
        	            	actual  : 4
        	Test:       	TestDoInBackgroundUntilStopped
--- FAIL: TestDoInBackgroundUntilStopped (30.01s)

The test relies on timing, so it's most likely affected when there is a lot of concurrency on the CI server.

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

No branches or pull requests

2 participants