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

Commit 3e5191e

Browse files
committed
Fix & refactor {space,shard}_nullable_index.test.lua
1 parent 16e268a commit 3e5191e

13 files changed

+142
-562
lines changed

test/common/nullable_index.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.nullable_index_testdata')
11+
12+
box.cfg({})
13+
14+
utils.run_testdata(testdata)
15+
16+
os.exit()

test/local/space_nested_args.result

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
2-
3-
+---------------------+
4-
| a-+ h x y |
5-
| |\ \ |\ |
6-
| b c d k l |
7-
| | |\ \ |
8-
| e f g m |
9-
+---------------------+
101
RESULT
112
---
123
order_collection:

test/local/space_nullable_index.result

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

test/local/space_nullable_index.test.lua

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

test/shard_redundancy/master.lua

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)