Skip to content
Snippets Groups Projects
Commit b38f6fca authored by mechanik20051988's avatar mechanik20051988 Committed by Nikita Pettik
Browse files

test: add {if_not_exists = true} to box.schema.user.grant

Add {if_not_exists = true} to box.schema.user.grant to prevent
error when server restart.
parent 7849fc2b
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ box.cfg({
wal_mode = 'none'
})
box.schema.user.grant('guest', 'read,write,execute,create,drop', 'universe')
box.schema.user.grant('guest', 'read,write,execute,create,drop', 'universe', nil, {if_not_exists = true})
function errinj_set(thread_id)
if thread_id ~= nil then
box.error.injection.set("ERRINJ_IPROTO_SINGLE_THREAD_STAT", thread_id)
......
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