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

Commit 2bbbb69

Browse files
committed
WIP: Fix flaky fails with hang tests
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). 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. TBD: update test-run from master after test-run's PR #123. [1]: tarantool/test-run#115 (comment)
1 parent 5cd8a1f commit 2bbbb69

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

test/bench/suite.ini

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ core = app
33
description = microbenchmarking
44
config = suite.cfg
55
is_parallel = False
6+
use_unix_sockets = True
67
long_run =
78
forking-2-100-1.test.lua
89
forking-2-1-1.test.lua

test/common/suite.ini

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ core = app
33
description = tests different setups simultaneously
44
config = suite.cfg
55
is_parallel = True
6+
use_unix_sockets = True

test/extra/suite.ini

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ core = app
33
description = tests on features which are not related to specific executor
44
is_parallel = True
55
config = suite.cfg
6+
use_unix_sockets = True

test/space/suite.ini

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ core = app
33
description = tests with space accessor
44
config = suite.cfg
55
is_parallel = False
6+
use_unix_sockets = True

0 commit comments

Comments
 (0)