From 2d53aca42e2e700b48f8ed670e436ac3806a291d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 08:26:38 +0000 Subject: [PATCH 1/3] Bump codecov/codecov-action from 3.1.4 to 4.5.0 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.5.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v4.5.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 46f590525046414940a3bbb2e7848d10aeadf316 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Mon, 19 Aug 2024 12:32:29 +0400 Subject: [PATCH 2/3] fix docker and linter --- Makefile | 4 ++-- pkg/loadtest/coordinator.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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) From 240d844098005f0f67a02a3b20f0f5986119d67c Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Mon, 19 Aug 2024 12:35:33 +0400 Subject: [PATCH 3/3] fix config --- test/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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