up
This commit is contained in:
@@ -428,6 +428,13 @@ test_hash_performance() {
|
||||
[[ $duration -lt 10000 ]] || return 1
|
||||
}
|
||||
|
||||
# CryptoPro downloader dry-run (Playwright)
|
||||
test_downloader_dry_run() {
|
||||
docker exec "${CONTAINER_NAME}" \
|
||||
env CRYPTOPRO_DRY_RUN=1 CRYPTOPRO_UNPACK=0 CRYPTOPRO_FETCH_ON_START=1 \
|
||||
/usr/local/bin/download-cryptopro.sh
|
||||
}
|
||||
|
||||
# ==============================================================================
|
||||
# Test Runner
|
||||
# ==============================================================================
|
||||
@@ -438,6 +445,13 @@ run_all_tests() {
|
||||
log "Target: ${WINE_CSP_URL}"
|
||||
log ""
|
||||
|
||||
# Downloader dry-run (only when we control the container)
|
||||
if [[ "${CLEANUP_CONTAINER}" == "true" ]]; then
|
||||
run_test "cryptopro_downloader_dry_run" test_downloader_dry_run
|
||||
else
|
||||
record_test "cryptopro_downloader_dry_run" "skip" "0" "External endpoint; downloader test skipped"
|
||||
fi
|
||||
|
||||
# Health tests
|
||||
log "--- Health Endpoints ---"
|
||||
run_test "health_endpoint" test_health_endpoint
|
||||
|
||||
Reference in New Issue
Block a user