Skip to content

Commit f63baa9

Browse files
committed
ci: bump test-run
Bump test-run so we can use the `--repeat` flag. Part of #531 NO_DOC=bump NO_TEST=bump
1 parent fc86f4c commit f63baa9

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/fast_testing.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,14 @@ jobs:
100100
- name: Install test requirements
101101
run: pip3 install --user -r test-run/requirements.txt
102102

103+
- name: Setup tt
104+
run: |
105+
curl -L https://tarantool.io/release/2/installer.sh | sudo bash
106+
sudo apt install -y tt
107+
tt version
108+
109+
- name: Setup luatest
110+
run: tt rocks install luatest 1.2.1
111+
103112
- run: cmake .
104113
- run: make test-force

test/luatest_helpers/server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function Server:grep_log(what, bytes, opts)
281281
local opts = opts or {}
282282
local noreset = opts.noreset or false
283283
-- if instance has crashed provide filename to use grep_log
284-
local filename = opts.filename or self:eval('return box.cfg.log')
284+
local filename = opts.filename or self.log_file
285285
local file = fio.open(filename, {'O_RDONLY', 'O_NONBLOCK'})
286286
-- This is needed to find UUID with string.match.
287287
what = string.gsub(what, "%-", "%%-")

0 commit comments

Comments
 (0)