diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ec1499b1c..d5dd0699b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/Makefile b/Makefile index 1f8012406..41f638cc2 100644 --- a/Makefile +++ b/Makefile @@ -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=...