From c985c2fbf96ea5b6c4da1ec143121e89e78894fb Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 24 Apr 2024 00:22:06 +0300 Subject: [PATCH] aio test: use 0.41.0 image Older ones won't work because of the changed bearer token structure. Newer one requires a bit more time to start though because of autodeploy. Signed-off-by: Roman Khimov --- cmd/neofs-rest-gw/integration_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/neofs-rest-gw/integration_test.go b/cmd/neofs-rest-gw/integration_test.go index b36fb1b..b9dd50e 100644 --- a/cmd/neofs-rest-gw/integration_test.go +++ b/cmd/neofs-rest-gw/integration_test.go @@ -89,8 +89,7 @@ func runLocalTests(ctx context.Context, t *testing.T, key *keys.PrivateKey) { func runTestInContainer(rootCtx context.Context, t *testing.T, key *keys.PrivateKey) { versions := []dockerImage{ - {image: "nspccdev/neofs-aio", version: "0.37.0"}, - {image: "nspccdev/neofs-aio", version: "0.38.1"}, + {image: "nspccdev/neofs-aio", version: "0.41.0"}, } for _, version := range versions { @@ -153,7 +152,7 @@ func runTests(ctx context.Context, t *testing.T, key *keys.PrivateKey, node stri func createDockerContainer(ctx context.Context, t *testing.T, image, version string) testcontainers.Container { req := testcontainers.ContainerRequest{ Image: image, - WaitingFor: wait.NewLogStrategy("aio container started").WithStartupTimeout(30 * time.Second), + WaitingFor: wait.NewLogStrategy("aio container started").WithStartupTimeout(2 * time.Minute), Name: "restgw-aio-test-" + version, Hostname: "aio", HostConfigModifier: func(hostConfig *dockerContainer.HostConfig) {