diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cac4e3b..7e046de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,6 @@ jobs: go-version: ">=1.20" check-latest: true - run: make integration-test - - uses: codecov/codecov-action@v3.1.4 + - uses: codecov/codecov-action@v4.5.0 with: file: ./coverage.txt diff --git a/Makefile b/Makefile index 1f3e44d..c4c1a2e 100644 --- a/Makefile +++ b/Makefile @@ -55,11 +55,11 @@ localnet: localnode .PHONY: localnet localnet-start: localnet - @docker-compose -f ./test/docker-compose.yml up -d + @docker compose -f ./test/docker-compose.yml up -d .PHONY: localnet-start localnet-stop: - @docker-compose -f ./test/docker-compose.yml down + @docker compose -f ./test/docker-compose.yml down .PHONY: localnet-stop integration-test: diff --git a/pkg/loadtest/coordinator.go b/pkg/loadtest/coordinator.go index dba8ad2..ef61d09 100644 --- a/pkg/loadtest/coordinator.go +++ b/pkg/loadtest/coordinator.go @@ -2,6 +2,7 @@ package loadtest import ( "context" + "errors" "fmt" "net/http" "sync" @@ -294,7 +295,7 @@ func (c *Coordinator) receiveTestingUpdates() error { } case workerFailed: - return fmt.Errorf(msg.Error) + return errors.New(msg.Error) default: return fmt.Errorf("unexpected state from remote worker: %s", msg.State) diff --git a/test/docker-compose.yml b/test/docker-compose.yml index c654fa3..21ebcd4 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -66,4 +66,4 @@ networks: ipam: driver: default config: - - subnet: 192.168.10.0/16 + - subnet: 192.168.0.0/16