Commit c527f09
committed
fix(tests): use single-line lua to avoid multi-document YAML output
tarantoolctl/tt processes a multi-line script line by line and emits a
separate YAML document (---\n...\n) for each line. SnakeYAML's
yaml.load() rejects multi-document streams with
"expected a single document in the stream", which broke 3.x tests
that piped the wait-for-stable script via echo.
Put the script on a single line with ';' separators so the output is
a single YAML document.1 parent 84e2142 commit c527f09
1 file changed
Lines changed: 8 additions & 10 deletions
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
0 commit comments