Skip to content

Conversation

@nabeelalam
Copy link
Contributor

Description:

The Docker source Quay registry test started to fail with the following errors:

=== FAIL: pkg/sources/docker TestQuayRegistry (1.08s)
    docker_test.go:112: 
        	Error Trace:	/home/runner/work/trufflehog/trufflehog/pkg/sources/docker/docker_test.go:112
        	Error:      	Not equal: 
        	            	expected: 945
        	            	actual  : 944
        	Test:       	TestQuayRegistry
    docker_test.go:114: 
        	Error Trace:	/home/runner/work/trufflehog/trufflehog/pkg/sources/docker/docker_test.go:114
        	Error:      	Not equal: 
        	            	expected: 4
        	            	actual  : 3
        	Test:       	TestQuayRegistry

The Quay registry test uses https://quay.io/repository/prometheus/busybox to get images.

I suspect there was a change in the repo that triggered this failure.

This is a quick fix that updates the expected values to the actual values being calculated.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@nabeelalam nabeelalam self-assigned this Dec 3, 2025
@nabeelalam nabeelalam requested a review from a team December 3, 2025 12:24
@nabeelalam nabeelalam requested a review from a team as a code owner December 3, 2025 12:24
@nabeelalam nabeelalam merged commit 674f626 into trufflesecurity:main Dec 3, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants