From 262b5283ae596ed092d0bb3b1b38ecd6a8bcf06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=B6ckli?= <42514703+boecklim@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:15:27 +0100 Subject: [PATCH] refactor: eliminate separate go module for e2e tests (#637) --- Makefile | 24 +++---- ...docker-compose.yaml => docker-compose.yaml | 36 ++++++----- go.mod | 2 +- test/Dockerfile | 18 +++--- test/e2e_globals.go | 2 + test/go.mod | 31 ---------- test/go.sum | 62 ------------------- test/init_test.go | 2 + test/submit_batch_test.go | 2 + test/submit_beef_test.go | 2 + test/submit_double_spending_test.go | 2 + test/submit_single_test.go | 2 + test/utils.go | 2 + 13 files changed, 55 insertions(+), 132 deletions(-) rename test/docker-compose.yaml => docker-compose.yaml (87%) delete mode 100644 test/go.mod delete mode 100644 test/go.sum diff --git a/Makefile b/Makefile index f8985c05a..27ff519a5 100644 --- a/Makefile +++ b/Makefile @@ -25,24 +25,24 @@ build_docker: .PHONY: run run: - docker compose -f test/docker-compose.yaml down --remove-orphans - docker compose -f test/docker-compose.yaml up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker - docker compose -f test/docker-compose.yaml up --build arc-blocktx arc-callbacker arc-metamorph arc - docker compose -f test/docker-compose.yaml down + docker compose down --remove-orphans + docker compose up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker + docker compose up --build arc-blocktx arc-callbacker arc-metamorph arc + docker compose down .PHONY: run_e2e_tests run_e2e_tests: - docker compose -f test/docker-compose.yaml down --remove-orphans - docker compose -f test/docker-compose.yaml up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker - docker compose -f test/docker-compose.yaml up --build --exit-code-from tests tests arc-blocktx arc-callbacker arc-metamorph arc --scale arc-blocktx=4 --scale arc-metamorph=2 - docker compose -f test/docker-compose.yaml down + docker compose down --remove-orphans + docker compose up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker + docker compose up --build --exit-code-from tests tests arc-blocktx arc-callbacker arc-metamorph arc --scale arc-blocktx=4 --scale arc-metamorph=2 + docker compose down .PHONY: run_e2e_tests_with_tracing run_e2e_tests_with_tracing: - docker compose -f test/docker-compose.yaml down --remove-orphans - docker compose -f test/docker-compose.yaml up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker - ARC_TRACING_ENABLED=TRUE docker compose -f test/docker-compose.yaml up --build --exit-code-from tests tests arc-blocktx arc-callbacker arc-metamorph arc arc-jaeger --scale arc-blocktx=4 --scale arc-metamorph=2 - docker compose -f test/docker-compose.yaml down + docker compose down --remove-orphans + docker compose up --abort-on-container-exit migrate-blocktx migrate-metamorph migrate-callbacker + ARC_TRACING_ENABLED docker compose up --build --exit-code-from tests tests arc-blocktx arc-callbacker arc-metamorph arc arc-jaeger --scale arc-blocktx=4 --scale arc-metamorph=2 + docker compose down .PHONY: test test: diff --git a/test/docker-compose.yaml b/docker-compose.yaml similarity index 87% rename from test/docker-compose.yaml rename to docker-compose.yaml index d351aa099..1c5ee9088 100644 --- a/test/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,7 +12,7 @@ services: healthcheck: test: [ "CMD", "/entrypoint.sh", "bitcoin-cli", "getinfo" ] volumes: - - ./config/bitcoin.conf:/data/bitcoin.conf + - ./test/config/bitcoin.conf:/data/bitcoin.conf - node1-data:/data command: [ "/entrypoint.sh", "bitcoind", "-connect=node2:18333", "-connect=node3:18333" ] @@ -27,7 +27,7 @@ services: healthcheck: test: [ "CMD", "/entrypoint.sh", "bitcoin-cli", "getinfo" ] volumes: - - ./config/bitcoin.conf:/data/bitcoin.conf + - ./test/config/bitcoin.conf:/data/bitcoin.conf - node2-data:/data command: [ "/entrypoint.sh", "bitcoind", "-connect=node1:18333", "-connect=node3:18333" ] @@ -42,7 +42,7 @@ services: healthcheck: test: [ "CMD", "/entrypoint.sh", "bitcoin-cli", "getinfo" ] volumes: - - ./config/bitcoin.conf:/data/bitcoin.conf + - ./test/config/bitcoin.conf:/data/bitcoin.conf - node3-data:/data command: [ "/entrypoint.sh", "bitcoind", "-connect=node1:18333", "-connect=node2:18333" ] @@ -76,7 +76,7 @@ services: ] command: [ "up" ] volumes: - - ../internal/blocktx/store/postgresql/migrations:/migrations + - ./internal/blocktx/store/postgresql/migrations:/migrations depends_on: db: condition: service_healthy @@ -95,7 +95,7 @@ services: ] command: [ "up" ] volumes: - - ../internal/metamorph/store/postgresql/migrations:/migrations + - ./internal/metamorph/store/postgresql/migrations:/migrations depends_on: db: condition: service_healthy @@ -114,7 +114,7 @@ services: ] command: [ "up" ] volumes: - - ../internal/callbacker/store/postgresql/migrations:/migrations + - ./internal/callbacker/store/postgresql/migrations:/migrations depends_on: db: condition: service_healthy @@ -129,7 +129,7 @@ services: hostname: nats-server volumes: - nats1-data:/data - - ./config/nats-server-host-1.conf:/etc/nats/nats-server.conf + - ./test/config/nats-server-host-1.conf:/etc/nats/nats-server.conf healthcheck: test: wget http://localhost:8222/healthz -q -S -O - interval: 5s @@ -145,7 +145,7 @@ services: hostname: nats-server volumes: - nats2-data:/data - - ./config/nats-server-host-2.conf:/etc/nats/nats-server.conf + - ./test/config/nats-server-host-2.conf:/etc/nats/nats-server.conf healthcheck: test: wget http://localhost:8222/healthz -q -S -O - interval: 5s @@ -163,11 +163,11 @@ services: test: [ "CMD", "redis-cli", "ping" ] arc-blocktx: - build: ../ + build: ./ expose: - "8011" volumes: - - ./config/config.yaml:/service/config.yaml + - ./test/config/config.yaml:/service/config.yaml command: [ "./arc", "-blocktx=true", "-config=." ] environment: - ARC_TRACING_ENABLED @@ -194,14 +194,14 @@ services: retries: 3 arc-callbacker: - build: ../ + build: ./ expose: - "8021" command: [ "./arc", "-callbacker=true", "-config=." ] environment: - ARC_TRACING_ENABLED volumes: - - ./config/config.yaml:/service/config.yaml + - ./test/config/config.yaml:/service/config.yaml depends_on: migrate-callbacker: condition: service_completed_successfully @@ -212,14 +212,14 @@ services: retries: 3 arc-metamorph: - build: ../ + build: ./ expose: - "8001" command: [ "./arc", "-metamorph=true", "-config=." ] environment: - ARC_TRACING_ENABLED volumes: - - ./config/config.yaml:/service/config.yaml + - ./test/config/config.yaml:/service/config.yaml depends_on: arc-blocktx: condition: service_healthy @@ -236,7 +236,7 @@ services: retries: 3 arc: - build: ../ + build: ./ ports: - "8011:8011" - "9090:9090" @@ -249,7 +249,7 @@ services: environment: - ARC_TRACING_ENABLED volumes: - - ./config/config.yaml:/service/config.yaml + - ./test/config/config.yaml:/service/config.yaml depends_on: arc-metamorph: condition: service_healthy @@ -265,7 +265,9 @@ services: - OTEL_EXPORTER_OTLP_INSECURE=true tests: - build: . + build: + context: ./ + dockerfile: ./test/Dockerfile depends_on: - arc diff --git a/go.mod b/go.mod index ede4dd26e..614cdb290 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.22.5 require ( github.com/bitcoin-sv/go-sdk v1.0.0 + github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9 github.com/cenkalti/backoff/v4 v4.3.0 github.com/coocood/freecache v1.2.4 github.com/enescakir/emoji v1.0.0 @@ -62,7 +63,6 @@ require ( github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bitcoinsv/bsvd v0.0.0-20190609155523-4c29707f7173 // indirect - github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/containerd/continuity v0.4.3 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect diff --git a/test/Dockerfile b/test/Dockerfile index 77bb40abe..1dc4c0c30 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -9,16 +9,16 @@ COPY go.mod go.sum ./ # Download all dependencies. Dependencies will be cached if the go.mod and the go.sum files are not changed RUN go mod download -COPY ./e2e_globals.go ./e2e_globals.go -COPY ./init_test.go ./init_test.go -COPY ./utils.go ./utils.go -COPY ./fixtures ./fixtures +COPY ./test/e2e_globals.go ./e2e_globals.go +COPY ./test/init_test.go ./init_test.go +COPY ./test/utils.go ./utils.go +COPY ./test/fixtures ./fixtures # Copy tests to run -COPY ./submit_single_test.go ./submit_01_single_test.go -COPY ./submit_batch_test.go ./submit_02_batch_test.go -COPY ./submit_double_spending_test.go ./submit_03_double_spending_test.go -COPY ./submit_beef_test.go ./submit_04_beef_test.go +COPY ./test/submit_single_test.go ./submit_01_single_test.go +COPY ./test/submit_batch_test.go ./submit_02_batch_test.go +COPY ./test/submit_double_spending_test.go ./submit_03_double_spending_test.go +COPY ./test/submit_beef_test.go ./submit_04_beef_test.go # This will compile and run the tests -CMD [ "go", "test", "-v", "-failfast", "./..."] +CMD [ "go", "test", "--tags=e2e", "-v", "-failfast", "./..."] diff --git a/test/e2e_globals.go b/test/e2e_globals.go index 7f60e0602..2e130bfa7 100644 --- a/test/e2e_globals.go +++ b/test/e2e_globals.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/go.mod b/test/go.mod deleted file mode 100644 index 611d4e80b..000000000 --- a/test/go.mod +++ /dev/null @@ -1,31 +0,0 @@ -module e2e_tests - -go 1.22.5 - -require ( - github.com/bitcoin-sv/go-sdk v1.0.0 - github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9 - github.com/libsv/go-bc v0.1.29 - github.com/libsv/go-p2p v0.3.2 - github.com/ordishs/go-bitcoin v1.0.85 - github.com/stretchr/testify v1.9.0 -) - -require ( - bitbucket.org/simon_ordish/cryptolib v1.0.48 // indirect - github.com/bitcoinsv/bsvd v0.0.0-20190609155523-4c29707f7173 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/go-zeromq/goczmq/v4 v4.2.2 // indirect - github.com/go-zeromq/zmq4 v0.15.0 // indirect - github.com/libsv/go-bk v0.1.6 // indirect - github.com/libsv/go-bt v1.0.8 // indirect - github.com/libsv/go-bt/v2 v2.2.5 // indirect - github.com/patrickmn/go-cache v2.1.0+incompatible // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect - golang.org/x/crypto v0.22.0 // indirect - golang.org/x/sync v0.6.0 // indirect - golang.org/x/text v0.14.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) diff --git a/test/go.sum b/test/go.sum deleted file mode 100644 index ea8081bdf..000000000 --- a/test/go.sum +++ /dev/null @@ -1,62 +0,0 @@ -bitbucket.org/simon_ordish/cryptolib v1.0.48 h1:bz3DsRCQK1tPQ59d1KwqDCkS0wW2PU6VoLlgTK/jKZM= -bitbucket.org/simon_ordish/cryptolib v1.0.48/go.mod h1:Zt5cEbIFQyX6LxtDy7rZ5Bo2irVWJPZ1gQXWCsc66ZE= -github.com/bitcoin-sv/go-sdk v1.0.0 h1:jAx0Ib5rtCC5eeY2h6JD/2ojSe6IYY50F4SWu78Yv34= -github.com/bitcoin-sv/go-sdk v1.0.0/go.mod h1:NOAkJLbjqKOLuxJmb9ABG86ExTZp4HS8+iygiDIUps4= -github.com/bitcoinsv/bsvd v0.0.0-20190609155523-4c29707f7173 h1:2yTIV9u7H0BhRDGXH5xrAwAz7XibWJtX2dNezMeNsUo= -github.com/bitcoinsv/bsvd v0.0.0-20190609155523-4c29707f7173/go.mod h1:BZ1UcC9+tmcDEcdVXgpt13hMczwJxWzpAn68wNs7zRA= -github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9 h1:hFI8rT84FCA0FFy3cFrkW5Nz4FyNKlIdCvEvvTNySKg= -github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9/go.mod h1:p44KuNKUH5BC8uX4ONEODaHUR4+ibC8todEAOGQEJAM= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-zeromq/goczmq/v4 v4.2.2 h1:HAJN+i+3NW55ijMJJhk7oWxHKXgAuSBkoFfvr8bYj4U= -github.com/go-zeromq/goczmq/v4 v4.2.2/go.mod h1:Sm/lxrfxP/Oxqs0tnHD6WAhwkWrx+S+1MRrKzcxoaYE= -github.com/go-zeromq/zmq4 v0.15.0 h1:SLqukpmLTx0JsLaOaCCjwy5eBdfJ+ouJX/677HoFbJM= -github.com/go-zeromq/zmq4 v0.15.0/go.mod h1:sD47DcXifeUFsVTB2ps8ijqTpEuTAlYgfuLoiWEXdCE= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/libsv/go-bc v0.1.29 h1:w3ZnpZxLkTrjklwkr9x/y/xv0vJz5FVVZjd/gvtvGQs= -github.com/libsv/go-bc v0.1.29/go.mod h1:l6epTfcakN8YKId/hrpUzlu1QeT3ODF1MI3DeYhG1O8= -github.com/libsv/go-bk v0.1.6 h1:c9CiT5+64HRDbzxPl1v/oiFmbvWZTuUYqywCf+MBs/c= -github.com/libsv/go-bk v0.1.6/go.mod h1:khJboDoH18FPUaZlzRFKzlVN84d4YfdmlDtdX4LAjQA= -github.com/libsv/go-bt v1.0.8 h1:nWLLcnUm0dxNO3exqrL5jvAcTGkl0dsnBuQqB6+M6vQ= -github.com/libsv/go-bt v1.0.8/go.mod h1:yO023bNYLh5DwcOYl+ZqLAeTemoy6K+2UbQlIBMv+EQ= -github.com/libsv/go-bt/v2 v2.2.5 h1:VoggBLMRW9NYoFujqe5bSYKqnw5y+fYfufgERSoubog= -github.com/libsv/go-bt/v2 v2.2.5/go.mod h1:cV45+jDlPOLfhJLfpLmpQoWzrIvVth9Ao2ZO1f6CcqU= -github.com/libsv/go-p2p v0.3.2 h1:O32CzkqM+jhSuleRHJln6JjL2pKH8aaRTx8lAfhIiic= -github.com/libsv/go-p2p v0.3.2/go.mod h1:TENFxbTT/bfSfuiirjU6l+PfAWxwZgF8GYUxs5tzc/M= -github.com/ordishs/go-bitcoin v1.0.85 h1:VGLqcOP2ubFzDp8RxnjqUgMsf0Pv84mRYsjubcLdp4c= -github.com/ordishs/go-bitcoin v1.0.85/go.mod h1:O3lqD8unDlwLXTmQTT4F5x/Gl3xgP4IgMQDFxTmi9V4= -github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= -github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/test/init_test.go b/test/init_test.go index 504aae1a8..dcbc6137d 100644 --- a/test/init_test.go +++ b/test/init_test.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/submit_batch_test.go b/test/submit_batch_test.go index 31523624b..d2188dbc3 100644 --- a/test/submit_batch_test.go +++ b/test/submit_batch_test.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/submit_beef_test.go b/test/submit_beef_test.go index 804898b86..bd3f3327b 100644 --- a/test/submit_beef_test.go +++ b/test/submit_beef_test.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/submit_double_spending_test.go b/test/submit_double_spending_test.go index 5985f94e6..7f755b23b 100644 --- a/test/submit_double_spending_test.go +++ b/test/submit_double_spending_test.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/submit_single_test.go b/test/submit_single_test.go index cc7aaf7e7..9a294ecc8 100644 --- a/test/submit_single_test.go +++ b/test/submit_single_test.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import ( diff --git a/test/utils.go b/test/utils.go index e141cd423..d225b5004 100644 --- a/test/utils.go +++ b/test/utils.go @@ -1,3 +1,5 @@ +//go:build e2e + package test import (