Skip to content

Commit 2215c4e

Browse files
committed
test: add varnish wasm soak harness
1 parent b3debf2 commit 2215c4e

3 files changed

Lines changed: 401 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ src/vcc_if.h
4444

4545
# Internal planning docs
4646
/plan/
47+
/soak-logs/
4748

4849
# OS
4950
.DS_Store

Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ EXTRA_DIST = \
2424
CHANGELOG.md \
2525
Dockerfile \
2626
autogen.sh \
27+
scripts/soak-test.sh \
2728
.github/dependabot.yml \
2829
.github/PULL_REQUEST_TEMPLATE.md \
2930
.github/ISSUE_TEMPLATE/bug_report.md \
@@ -86,7 +87,7 @@ EXTRA_DIST = \
8687
# symbols (http_SetH, VRT_priv_task_get, etc.) are only available inside
8788
# varnishd at runtime. Integration testing is done via VTC tests below.
8889

89-
.PHONY: build build-wasm-test-fixtures lint fmt audit test docker-test release-dry-run
90+
.PHONY: build build-wasm-test-fixtures lint fmt audit test docker-test soak-test release-dry-run
9091

9192
build: all build-wasm-test-fixtures
9293

@@ -124,6 +125,9 @@ docker-test:
124125
$(DOCKER) build -t "$(DOCKER_IMAGE)" "$(abs_top_srcdir)"
125126
$(DOCKER) run --rm "$(DOCKER_IMAGE)" make check
126127

128+
soak-test:
129+
"$(abs_top_srcdir)/scripts/soak-test.sh" --image "$(DOCKER_IMAGE)"
130+
127131
release-dry-run:
128132
$(DOCKER) build -t "$(DOCKER_IMAGE)" "$(abs_top_srcdir)"
129133
$(DOCKER) run --rm "$(DOCKER_IMAGE)" make check

0 commit comments

Comments
 (0)