Skip to content

Intermittent test failure #696

@amorey

Description

@amorey

We're getting this error intermittently when running PR checks, usually on the macos-14 runner:

<nil>
&{{0 0 <nil>} {0 0 <nil>} false  <nil> 0xc0001fc910 0x100df21a0 0 0 0xc0001e83a0 test 0xc000256000 0xc0001b46f0 false {{} {{} {} 0} 0} 0xc00021b880 0xc00021b8f0 0xc00021b960 <nil> {{} {0 0}} {{} {{} 0} {{} {0 0}}} {{} {{} 0} {{} {0 0}}} {{} {{} 0} {{} {0 0}}} {{} {{} 0} {{} {0 0}}}}
--- FAIL: TestStreamAllWithFollow (0.01s)
    --- FAIL: TestStreamAllWithFollow/with_follow_data,_past_data_arrives_after (0.00s)
        stream_test.go:686: 
            	Error Trace:	/Users/runner/work/kubetail/kubetail/modules/shared/logs/stream_test.go:686
            	Error:      	Not equal: 
            	            	expected: []string{"s1-a", "s2-a", "s1-b", "s2-b"}
            	            	actual  : []string{"s1-a", "s2-a", "s2-b", "s1-b"}
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
            	            	@@ -3,4 +3,4 @@
            	            	  (string) (len=4) "s2-a",
            	            	- (string) (len=4) "s1-b",
            	            	- (string) (len=4) "s2-b"
            	            	+ (string) (len=4) "s2-b",
            	            	+ (string) (len=4) "s1-b"
            	            	 }
            	Test:       	TestStreamAllWithFollow/with_follow_data,_past_data_arrives_after
FAIL
FAIL	github.com/kubetail-org/kubetail/modules/shared/logs	0.100s

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang/goRelated to Go codemediumDifficulty level - medium

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions