Skip to content

[flaky test][extension/jaegerremotesampling] TestAutoUpdateStrategyWithFile is flaky on Windows #37275

Open
@pjanotti

Description

Component(s)

extension/jaegerremotesampling

Describe the issue you're reporting

Multiple hits in different runs:

=== FAIL: internal/source/filesource TestAutoUpdateStrategyWithFile (0.03s)
    filesource_test.go:382: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/source/filesource/filesource_test.go:382
        	            				D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/source/filesource/filesource_test.go:422
        	Error:      	Received unexpected error:
        	            	remove C:\Users\RUNNER~1\AppData\Local\Temp\for_go_test_1706118286.json: The process cannot access the file because it is being used by another process.
        	Test:       	TestAutoUpdateStrategyWithFile

=== FAIL: internal/source/filesource TestAutoUpdateStrategyWithFile (re-run 1) (0.03s)
    filesource_test.go:382: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/source/filesource/filesource_test.go:382
        	            				D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/source/filesource/filesource_test.go:422
        	Error:      	Received unexpected error:
        	            	remove C:\Users\RUNNER~1\AppData\Local\Temp\for_go_test_3754742530.json: The process cannot access the file because it is being used by another process.
        	Test:       	TestAutoUpdateStrategyWithFile

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions