diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2023-05-15 20:59:29 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2023-05-16 14:34:35 +0300 |
commit | f553046927a15ebbb21671d08ee973e92cd2e7f3 (patch) | |
tree | e8fd756557782405a509568c58fe419a0a6492d9 | |
parent | 4702511ffb7ab317b8fdfed7ece570777996526f (diff) |
Add makefile targets for testing with WAL
This commit adds 'test-wal' and 'test-with-praefect-wal' targets to
the makefile for running tests with the WAL enabled.
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -400,6 +400,16 @@ bench: ${BENCHMARK_REPO} prepare-tests test-with-praefect: prepare-tests ${Q}GITALY_TEST_WITH_PRAEFECT=YesPlease $(call run_go_tests) +.PHONY: test-wal +## Run Go tests with write-ahead logging enabled. +test-wal: export GITALY_TEST_WAL = YesPlease +test-wal: test + +.PHONY: test-with-praefect-wal +## Run Go tests with write-ahead logging and Praefect enabled. +test-with-praefect-wal: export GITALY_TEST_WAL = YesPlease +test-with-praefect-wal: test-with-praefect + .PHONY: race-go ## Run Go tests with race detection enabled. race-go: override TEST_OPTIONS := ${TEST_OPTIONS} -race |