Skip to content

Commit

Permalink
pool: fix the string to wait for AIO health check
Browse files Browse the repository at this point in the history
REST 0.8.0+ doesn't output this string and we better check for the overall AIO
status which is known to be OK after this string.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
  • Loading branch information
roman-khimov committed Apr 11, 2024
1 parent 4017d13 commit 69b50fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/pool_aio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func createDockerContainer(ctx context.Context, t *testing.T, image string) test
req := testcontainers.ContainerRequest{
Image: image,
// timeout is chosen to have enough time for NeoFS chain deployment from scratch within NeoFS AIO
WaitingFor: wait.NewLogStrategy("Serving neofs rest gw").WithStartupTimeout(2 * time.Minute),
WaitingFor: wait.NewLogStrategy("aio container started").WithStartupTimeout(2 * time.Minute),
Name: "sdk-poll-tests-" + strconv.FormatInt(time.Now().UnixNano(), 36),
Hostname: "aio_autotest_" + strconv.FormatInt(time.Now().UnixNano(), 36),
ExposedPorts: []string{"8080/tcp"},
Expand Down

0 comments on commit 69b50fa

Please sign in to comment.