Skip to content

test: isolate ClamAV service tests from deployment environment - #7

Merged
SK-tec merged 4 commits into
mainfrom
test/clamav-service-tests
Oct 7, 2026
Merged

SK-tec merged 4 commits into
mainfrom
test/clamav-service-tests

Conversation

@SK-tec

@SK-tec SK-tec commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Description
The ClamAV fail-secure tests could be affected by deployment env overrides (CLAMAV_ENABLED, CLAMAV_HOST, CLAMAV_PORT) and contact the real scanner instead of the intended unreachable one.

Changes

  • Stub these env vars and clear the config cache before each test, then restore both after each test, even if an assertion fails.
  • Assert the resolved config is the intended test target before scanning.

Test-only change. Application code and deployment config are untouched.

Matthias Kalb and others added 4 commits October 1, 2026 10:48
Release Integration into Main

See merge request entwicklung/termine/polly!1
Brings in the capacity-test slot fix and the accessible-label fix for
the organization slot-duration dropdowns from GitHub PR #5.
@SK-tec SK-tec self-assigned this Oct 7, 2026
@SK-tec
SK-tec merged commit d6771de into main Oct 7, 2026
5 checks passed
@SK-tec
SK-tec deleted the test/clamav-service-tests branch October 7, 2026 10:07
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.

1 participant