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

Commit 34e4dfd

Browse files
committed
Fix & refactor {space,shard}_common.test.lua
1 parent 66613fd commit 34e4dfd

File tree

8 files changed

+288
-1221
lines changed

8 files changed

+288
-1221
lines changed

test/common/common.test.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env tarantool
2+
3+
local fio = require('fio')
4+
5+
-- require in-repo version of graphql/ sources despite current working directory
6+
package.path = fio.abspath(debug.getinfo(1).source:match("@?(.*/)")
7+
:gsub('/./', '/'):gsub('/+$', '')) .. '/../../?.lua' .. ';' .. package.path
8+
9+
local utils = require('test.utils')
10+
local testdata = require('test.testdata.common_testdata')
11+
12+
box.cfg({})
13+
14+
utils.run_testdata(testdata)
15+
16+
os.exit()

test/local/space_common.result

Lines changed: 0 additions & 232 deletions
This file was deleted.

test/local/space_common.test.lua

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)