clamscan icon indicating copy to clipboard operation
clamscan copied to clipboard

Tests for connect over TLS were bypassed due to the unix socket path being populated

Open carboneater opened this issue 2 years ago • 0 comments
trafficstars

So I wanted to try to reproduce the CI errors regarding ClamAV sometimes returning an empty array. I never managed to reproduce it locally.

However, I realized the TLS tests would pass, even when stunnel was stopped... Overriding the default test values to force the right code branch uncovered two minor bugs... And started a whole new round of fighting with GitHub Actions...

The two 30s timers in the pipeline were replaced with pauses until services are detected to be ready. Sadly, even this did not fix the flakiness from the good files array test...

carboneater avatar Dec 09 '22 23:12 carboneater