Skip to content

Commit

Permalink
fix: specify correct path for tools/go.mod when running benchmark (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
kyungeunni authored Jul 9, 2024
1 parent ab4b728 commit 3f16a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/benchmark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ run-benchmark-autotuned:

.PHONY: index-benchmark-results
index-benchmark-results: _default-gobench-vars
@cat $(BENCHMARK_RESULT) | go run -modfile=tools/go.mod github.com/elastic/gobench -es $(GOBENCH_HOST) -es-username $(GOBENCH_USERNAME) -es-password $(GOBENCH_PASSWORD) \
@cat $(BENCHMARK_RESULT) | go run -modfile=$(GITROOT)/tools/go.mod github.com/elastic/gobench -es $(GOBENCH_HOST) -es-username $(GOBENCH_USERNAME) -es-password $(GOBENCH_PASSWORD) \
-index $(GOBENCH_INDEX) -tag "$(GOBENCH_DEFAULT_TAGS),$(GOBENCH_TAGS)"

.PHONY: _default-gobench-vars
Expand Down

0 comments on commit 3f16a76

Please sign in to comment.