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 test TestServerElasticsearchOutput #13606

Open
lahsivjar opened this issue Jul 5, 2024 · 1 comment
Open

Flaky test TestServerElasticsearchOutput #13606

lahsivjar opened this issue Jul 5, 2024 · 1 comment
Labels

Comments

@lahsivjar
Copy link
Contributor

=== RUN   TestServerElasticsearchOutput
    server_test.go:523: 
        	Error Trace:	D:/a/apm-server/apm-server/internal/beater/server_test.go:523
        	Error:      	Not equal: 
        	            	expected: map[string]interface {}{"elasticsearch":map[string]interface {}{"bulk_requests":map[string]interface {}{"available":9, "completed":0}, "indexers":map[string]interface {}{"active":1, "created":0, "destroyed":0}}}
        	            	actual  : map[string]interface {}{"elasticsearch":map[string]interface {}{"bulk_requests":map[string]interface {}{"available":8, "completed":0}, "indexers":map[string]interface {}{"active":1, "created":0, "destroyed":0}}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -3,3 +3,3 @@
        	            	   (string) (len=13) "bulk_requests": (map[string]interface {}) (len=2) {
        	            	-   (string) (len=9) "available": (int64) 9,
        	            	+   (string) (len=9) "available": (int64) 8,
        	            	    (string) (len=9) "completed": (int64) 0
        	Test:       	TestServerElasticsearchOutput
@lahsivjar lahsivjar added the bug label Jul 5, 2024
@carsonip
Copy link
Member

carsonip commented Sep 3, 2024

To reproduce, run go test ./... -run=^TestServerElasticsearchOutput$ -count 1000 -failfast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants