Skip to content

TestEmitStartupInfo is flaky #848

@dgageot

Description

@dgageot

--- FAIL: TestEmitStartupInfo (0.00s)
runtime_test.go:764:
Error Trace: /home/runner/work/cagent/cagent/pkg/runtime/runtime_test.go:764
Error: Not equal:
expected: []runtime.Event{(*runtime.AgentInfoEvent)(0xc0002810e0), (*runtime.TeamInfoEvent)(0xc000281130), (*runtime.ToolsetInfoEvent)(0xc00037b080)}
actual : []runtime.Event{(*runtime.AgentInfoEvent)(0xc000281040), (*runtime.TeamInfoEvent)(0xc000281090), (*runtime.ToolsetInfoEvent)(0xc00037b050)}

    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -13,4 +13,4 @@
    	            	   AvailableAgents: ([]string) (len=2) {
    	            	-   (string) (len=18) "startup-test-agent",
    	            	-   (string) (len=11) "other-agent"
    	            	+   (string) (len=11) "other-agent",
    	            	+   (string) (len=18) "startup-test-agent"
    	            	   },
    	Test:       	TestEmitStartupInfo

FAIL

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions