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

Flaky integration test #227

Open
hasit opened this issue May 30, 2023 · 0 comments
Open

Flaky integration test #227

hasit opened this issue May 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working release:v0.5.x Issues related with 0.5.x

Comments

@hasit
Copy link
Contributor

hasit commented May 30, 2023

Running cluster.sh script in branch release/v0.5.0 on my machine fails the following test:

...
--- FAIL: TestIntegration_NodesJoinOrLeftDuringQuery (16.71s)
    olric_test.go:110: A new cluster member has been created: 127.0.0.1:33651
    olric_test.go:110: A new cluster member has been created: 127.0.0.1:42925
    integration_test.go:48: Wait for 1 second before inserting keys
    olric_test.go:110: A new cluster member has been created: 127.0.0.1:35837
    integration_test.go:71: Fetch all keys
    olric_test.go:110: A new cluster member has been created: 127.0.0.1:33221
    integration_test.go:86: Shutdown one of the nodes: 127.0.0.1:42925
    integration_test.go:91: Wait for "NodeLeave" event propagation
    olric_test.go:110: A new cluster member has been created: 127.0.0.1:35239
    integration_test.go:81: 
        	Error Trace:	integration_test.go:81
        	Error:      	Received unexpected error:
        	            	key not found
        	            	github.com/buraksezer/olric.init
        	            		/home/hm/fluxninja/olric/olric.go:70
        	            	runtime.doInit
        	            		/usr/local/go/src/runtime/proc.go:6506
        	            	runtime.doInit
        	            		/usr/local/go/src/runtime/proc.go:6483
        	            	runtime.main
        	            		/usr/local/go/src/runtime/proc.go:233
        	            	runtime.goexit
        	            		/usr/local/go/src/runtime/asm_amd64.s:1598
        	Test:       	TestIntegration_NodesJoinOrLeftDuringQuery
<nil>
...
@buraksezer buraksezer self-assigned this May 31, 2023
@buraksezer buraksezer added bug Something isn't working release:v0.5.x Issues related with 0.5.x labels May 31, 2023
buraksezer added a commit that referenced this issue Dec 19, 2023
Temporarily skipping the flaky test 'TestIntegration_NodesJoinOrLeftDuringQuery' in 'integration_test.go' file. This is pending a fix for the referenced issue (#227) as documented in the TODO comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release:v0.5.x Issues related with 0.5.x
Projects
None yet
Development

No branches or pull requests

2 participants