3333ifdef race
3434 $(eval testintegargs += "-race")
3535endif
36- $(eval testintegargs += "-cover" "-coverpkg=github.com/elastic/go-elasticsearch/v8 ,github.com/elastic/go-elasticsearch/v8 /esutil,github.com/elastic/go-elasticsearch/v8 /typedapi" "-coverprofile=$(PWD)/tmp/integration-client.cov" "-tags='$(testintegtags)'" "-timeout=1h")
36+ $(eval testintegargs += "-cover" "-coverpkg=github.com/elastic/go-elasticsearch/v9 ,github.com/elastic/go-elasticsearch/v9 /esutil,github.com/elastic/go-elasticsearch/v9 /typedapi" "-coverprofile=$(PWD)/tmp/integration-client.cov" "-tags='$(testintegtags)'" "-timeout=1h")
3737 @if which gotestsum > /dev/null 2>&1 ; then \
3838 cd internal/testing/e2e; \
3939 echo "gotestsum --format=short-verbose --junitfile=$(PWD)/tmp/integration-report.xml --" $(testintegargs); \
@@ -49,7 +49,7 @@ test-api: ## Run generated API integration tests
4949ifdef race
5050 $(eval testapiargs += "-race")
5151endif
52- $(eval testapiargs += "-cover" "-coverpkg=github.com/elastic/go-elasticsearch/v8 /esapi" "-coverprofile=$(PWD)/tmp/integration-api.cov" "-tags='integration'" "-timeout=1h")
52+ $(eval testapiargs += "-cover" "-coverpkg=github.com/elastic/go-elasticsearch/v9 /esapi" "-coverprofile=$(PWD)/tmp/integration-api.cov" "-tags='integration'" "-timeout=1h")
5353ifdef flavor
5454else
5555 $(eval flavor='free')
@@ -101,7 +101,6 @@ test-examples: ## Execute the _examples
101101 @printf " \033[2m→ Testing the examples...\033[0m\n"
102102 @{ \
103103 set -e ; \
104- trap " test -d .git && git checkout --quiet _examples/**/go.mod" INT TERM EXIT; \
105104 for d in _examples/* /; do \
106105 printf " \033[2m────────────────────────────────────────────────────────────────────────────────\n" ; \
107106 printf " \033[1mUpdating dependencies for $$ d\033[0m\n" ; \
@@ -266,9 +265,9 @@ endif
266265
267266godoc : # # Display documentation for the package
268267 @printf " \033[2m→ Generating documentation...\033[0m\n"
269- @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v8 "
270- @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v8 /esapi"
271- @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v8 /esutil"
268+ @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v9 "
269+ @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v9 /esapi"
270+ @echo " * http://localhost:6060/pkg/github.com/elastic/go-elasticsearch/v9 /esutil"
272271 @printf " \n"
273272 godoc --http=localhost:6060 --play
274273
0 commit comments