Created
April 21, 2016 16:53
-
-
Save bigbes/601b8b4168ab7309bb9caf23251bbaba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- wal is off, good opportunity to test something more CPU intensive: | |
env = require('test_run') | |
--- | |
... | |
test_run = env.new() | |
--- | |
... | |
spaces = {} | |
--- | |
... | |
box.schema.FORMAT_ID_MAX | |
--- | |
- 65534 | |
... | |
test_run:cmd("setopt delimiter ';'") | |
--- | |
- true | |
... | |
-- too many formats | |
for k = 1, box.schema.FORMAT_ID_MAX, 1 do | |
local s = box.schema.space.create('space'..k) | |
table.insert(spaces, s) | |
end; | |
#spaces; | |
-- cleanup | |
for k, v in pairs(spaces) do | |
v:drop() | |
end; | |
[Lost current connection] | |
test_run:cmd("setopt delimiter ''"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment