Skip to content

Commit

Permalink
aio test: use 0.41.0 image
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
roman-khimov committed Apr 23, 2024
1 parent b67db42 commit c985c2f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/neofs-rest-gw/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit c985c2f

Please sign in to comment.