Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Fix flaky fails with hang tests #213

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Fix flaky fails with hang tests #213

merged 1 commit into from
Sep 5, 2018

Conversation

Totktonada
Copy link
Member

@Totktonada Totktonada commented Sep 5, 2018

The problem is that frontend wait infinitely for a storage server, which
have not been initialized due to the error like the following.

Start failed: builtin/box/console.lua:560: failed to create server
localhost:57988: Address already in use

The problem is described in 1 (see comment itself, the issue is about
the another problem).

The gist of the fix is using unix sockets for admin console of
non-default servers (storages), it is why test-run update is needed. The
option 'use_unix_sockets' affects only console (admin) socket and does
nothing with binary (listen) port of a storage. It is critical in the
benchmarking test suite.

@Totktonada Totktonada self-assigned this Sep 5, 2018
The problem is that frontend wait infinitely for a storage server, which
have not been initialized due to the error like the following.

```
Start failed: builtin/box/console.lua:560: failed to create server
localhost:57988: Address already in use
```

The problem is described in [1] (see comment itself, the issue is about
the another problem).

The gist of the fix is using unix sockets for admin console of
non-default servers (storages), it is why test-run update is needed. The
option 'use_unix_sockets' affects only console (admin) socket and does
nothing with binary (listen) port of a storage. It is critical in the
benchmarking test suite.

[1]: tarantool/test-run#115 (comment)
@Totktonada Totktonada changed the title WIP: Fix flaky fails with hang tests Fix flaky fails with hang tests Sep 5, 2018
@Totktonada Totktonada merged commit d159287 into master Sep 5, 2018
@Totktonada Totktonada deleted the fix-flaky-tests branch September 5, 2018 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant