Skip to content

[Flaky Test]: Test_runDispatcher/gateway_actions_passed – Should be empty, but was <insert address here> #4777

Closed
@pchila

Description

@pchila

Failing test case

Test_runDispatcher/gateway_actions_passed

Error message

It seems that not all actions are consumed by the dispatcher

Build

https://buildkite.com/elastic/elastic-agent/builds/9019#018f95f5-03b8-40db-a485-bca1453b370a

OS

Windows

Stacktrace and notes

=== FAIL: internal/pkg/agent/application Test_runDispatcher/gateway_actions_passed (0.26s)
2024-05-20 14:48:16 CEST	    managed_mode_test.go:136:
2024-05-20 14:48:16 CEST	        	Error Trace:	C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:136
2024-05-20 14:48:16 CEST	        	Error:      	Should be empty, but was 0xc000480360
2024-05-20 14:48:16 CEST	        	Test:       	Test_runDispatcher/gateway_actions_passed
2024-05-20 14:48:16 CEST	    managed_mode_test.go:139: FAIL:	Dispatch(string,string,string,string)
2024-05-20 14:48:16 CEST	        		at: [C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:101 C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:129]
2024-05-20 14:48:16 CEST	    managed_mode_test.go:139: FAIL: 0 out of 1 expectation(s) were met.
2024-05-20 14:48:16 CEST	        	The code you are testing needs to make 1 more call(s).
2024-05-20 14:48:16 CEST	        	at: [C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:139]
2024-05-20 14:48:16 CEST	
2024-05-20 14:48:16 CEST	=== FAIL: internal/pkg/agent/application Test_runDispatcher (0.48s)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions