Skip to content

Commit 353cfab

Browse files
committed
test: bump test-run to aaba736
NO_DOC=draft NO_TEST=draft
1 parent fc86f4c commit 353cfab

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.github/workflows/fast_testing.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,22 @@ 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+
# Setup luatest
110+
- name: Cache rocks
111+
uses: actions/cache@v4
112+
id: cache-rocks
113+
with:
114+
path: .rocks/
115+
key: test-rocks-${{ hashFiles('*.rockspec') }}-06
116+
-
117+
run: tt rocks install luatest 1.2.1
118+
if: steps.cache-rocks.outputs.cache-hit != 'true'
119+
103120
- run: cmake .
104121
- 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)