Skip to content
Snippets Groups Projects
Commit 57b90288 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

test: make wal_off/alter robust against system tuple format count

We have to update the test every time we add a new system tuple format
because it checks the number of spaces that can be created before the
tuple format count limit is reached. Let's loosen the space count check
to avoid that.

We do this for the new memcs engine, which will be introduced to
Tarantool Enterprise Edition, because it will create a tuple format to
serve internal needs.

Needed for tarantool/tarantool-ee#617

NO_DOC=test fix
NO_CHANGELOG=test fix
parent f224b7ed
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,9 @@ end;
---
- error: 'Tuple format limit reached: 65536'
...
#spaces;
#spaces > 65000;
---
- 65499
- true
...
-- cleanup
for k, v in pairs(spaces) do
......
......@@ -11,7 +11,7 @@ for k = 1, box.schema.FORMAT_ID_MAX, 1 do
local s = box.schema.space.create('space'..k)
table.insert(spaces, s)
end;
#spaces;
#spaces > 65000;
-- cleanup
for k, v in pairs(spaces) do
v:drop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment