chore(ci): silence TestIndexBlobManagerStress output on failure (#4036)

Try again:

Partially reverts commit 2d2e0314d1.

Changes the approach slightly:
- Use pkgname format for gotestsum
- Test index blob v0 separately

Ref:
- #4028
- #4035
This commit is contained in:
Julio López
2024-08-07 14:52:21 -07:00
committed by GitHub
parent 2d2e0314d1
commit 42de08bb4e
2 changed files with 7 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ jobs:
if: ${{ contains(matrix.os, 'macos') }}
- name: Setup
run: make -j4 ci-setup
- name: Test Blob Index Manager V0
run: make test-index-blob-v0
- name: Tests
run: make ci-tests
- name: Integration Tests

View File

@@ -276,9 +276,13 @@ test-with-coverage: $(gotestsum) $(TESTING_ACTION_EXE)
test: GOTESTSUM_FLAGS=--format=$(GOTESTSUM_FORMAT) --no-summary=skipped --jsonfile=.tmp.unit-tests.json
test: export TESTING_ACTION_EXE ?= $(TESTING_ACTION_EXE)
test: $(gotestsum) $(TESTING_ACTION_EXE)
$(GO_TEST) $(UNIT_TEST_RACE_FLAGS) -tags testing -count=$(REPEAT_TEST) -timeout $(UNIT_TESTS_TIMEOUT) ./...
$(GO_TEST) $(UNIT_TEST_RACE_FLAGS) -tags testing -count=$(REPEAT_TEST) -timeout $(UNIT_TESTS_TIMEOUT) -skip '^TestIndexBlobManagerStress$$' ./...
-$(gotestsum) tool slowest --jsonfile .tmp.unit-tests.json --threshold 1000ms
test-index-blob-v0: GOTESTSUM_FLAGS=--format=pkgname --no-summary=output,skipped
test-index-blob-v0: $(gotestsum) $(TESTING_ACTION_EXE)
$(GO_TEST) $(UNIT_TEST_RACE_FLAGS) -tags testing -count=$(REPEAT_TEST) -timeout $(UNIT_TESTS_TIMEOUT) -run '^TestIndexBlobManagerStress$$' ./repo/content/indexblob/...
provider-tests-deps: $(gotestsum) $(rclone) $(MINIO_MC_PATH)
PROVIDER_TEST_TARGET=...