From ca020a98a42f781cc3b3d67c7c75a34391a59a2e Mon Sep 17 00:00:00 2001 From: k1LoW Date: Fri, 10 Jan 2025 17:47:35 +0900 Subject: [PATCH] Add test-loadt --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6b7a83e..03065496 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,16 @@ test-integration: cert chmod 600 testdata/sshd/id_rsa go test ./... -tags=integration -count=1 -test-all: cert +test-all: cert test-loadt chmod 600 testdata/sshd/id_rsa go test ./... -tags=integration -coverprofile=coverage.out -covermode=count benchmark: cert go test -bench . -benchmem -run Benchmark | octocov-go-test-bench --tee > custom_metrics_benchmark.json +test-loadt: + go run ./cmd/runn/main.go loadt testdata/book/always_success.yml --duration 1s --warm-up 0s + lint: golangci-lint run ./... govulncheck ./...