feat: add direct upload to 5 track
This commit is contained in:
@@ -14,11 +14,13 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
attachments-cleanup \
|
||||
check validate test load test-persistence test-failover \
|
||||
test-backend test-baseline test-baseline-persistence test-grade3 test-grade3-failures \
|
||||
test-attachment-validation test-attachment-access test-upload-recovery test-attachment-cleanup test-s3-permissions test-upload-memory
|
||||
test-attachment-validation test-attachment-access test-upload-recovery test-attachment-cleanup test-s3-permissions test-upload-memory \
|
||||
test-direct-upload test-direct-upload-validation test-direct-upload-access test-direct-upload-recovery test-direct-upload-cleanup
|
||||
|
||||
|
||||
|
||||
help:
|
||||
@echo "test-direct-upload / test-direct-upload-validation / test-direct-upload-access / test-direct-upload-recovery / test-direct-upload-cleanup"
|
||||
@echo "app-build: build application images; app-up: build and start the full stack"
|
||||
@echo "app-start: start without rebuilding; app-stop: stop and keep containers"
|
||||
@echo "app-down: remove containers and networks, keeping data volumes"
|
||||
@@ -124,3 +126,20 @@ test-s3-permissions: app-init
|
||||
|
||||
test-upload-memory:
|
||||
$(PYTHON) scripts/check_upload_memory.py
|
||||
|
||||
test-direct-upload: app-init
|
||||
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadFlow$$'
|
||||
$(PYTHON) scripts/check_direct_upload.py --base-url "$(BASE_URL)"
|
||||
|
||||
test-direct-upload-validation: app-init
|
||||
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadValidation'
|
||||
|
||||
test-direct-upload-access: app-init
|
||||
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadAccess'
|
||||
|
||||
test-direct-upload-recovery: app-init
|
||||
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUpload(Recovery|CrashHelper)'
|
||||
$(COMPOSE) exec -T frontend npm run test:direct-upload
|
||||
|
||||
test-direct-upload-cleanup: app-init
|
||||
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadCleanup'
|
||||
|
||||
Reference in New Issue
Block a user