Skip to content

Flaky Test TestLoggerPause #24882

Closed
@silverwind

Description

@silverwind

https://github.com/go-gitea/gitea/actions/runs/5055503857/jobs/9071789890?pr=24864

--- FAIL: TestLoggerPause (0.20s)
    logger_test.go:100: 
        	Error Trace:	/home/runner/work/gitea/gitea/modules/log/logger_test.go:100
        	Error:      	Not equal: 
        	            	expected: []string{}
        	            	actual  : []string{"info-level\n"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,3 @@
        	            	-([]string) {
        	            	+([]string) (len=1) {
        	            	+ (string) (len=11) "info-level\n"
        	            	 }
        	Test:       	TestLoggerPause

Maybe regression from #24726.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions