Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Hiltunen <shiltunen@gitlab.com>2023-05-15 20:59:29 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2023-05-23 20:40:50 +0300
commit563e97c0feacb67ad64a6ecbdc1d33e1e295388b (patch)
treef5a5fcfc369ef9c30b89a2fb60b72b295c1c89b7
parentecab61d1e86c6e95f72a66165fe146d1fde28c0a (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--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9b4ef8055..20a0ffa79 100644
--- a/Makefile
+++ b/Makefile
@@ -402,6 +402,16 @@ bench: ${BENCHMARK_REPO} prepare-tests
test-with-praefect: export GITALY_TEST_WITH_PRAEFECT = YesPlease
test-with-praefect: test-go
+.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