Commit c79715a
test: fix a problem with Unix socket path
The test `tarantoolgh-2717-no-quit-sigint.test.lua` is failed when length of
the path to a socket is exceed max length [1]. The symptom is
triggered assertion on the line 267: 'time_quota is violated'.
NO_WRAP
tarantool> _ = require('console').listen('/home/sergeyb/sources/MRG/tarantool/build/test/app-tap/tarantoolgh-2717-no-quit-sigint.test.lua-workdir/tarantool.soc')
---
- error: 'failed to create server unix/:/home/sergeyb/sources/MRG/tarantool/build/test/app-tap/tarantoolgh-2717-no-quit-sigint.test.lua-workdir/tarantool.soc:
No buffer space available'
...
NO_WRAP
The patch changes a path to a socket and put it to the temporary
directory. The same problem was fixed for `app-tap/console.test.lua`.
Needed for the following patch.
1. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_un.h.html#tag_13_67_04
NO_CHANGELOG=testing
NO_DOC=testing1 parent dd1329b commit c79715a
File tree
2 files changed
+8
-5
lines changed- test/app-tap
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| 276 | + | |
| 277 | + | |
275 | 278 | | |
0 commit comments