Skip to content
Snippets Groups Projects
Commit 59ce25dd authored by Georgiy Lebedev's avatar Georgiy Lebedev Committed by Vladimir Davydov
Browse files

test: fix #6310 upgrade test

The upgrade test worked incorrectly: the instances WAL directory contained
xlog with the latest schema version and the snapshot contained an older
schema version (2.7.1) than required (2.9.1), whereas there only need to
be a snapshot with 2.9.1 schema version — fix this descrepancy.

Also, schema upgrade is performed automatically: remove the redundant
`box.schema.upgrade` call.

NO_CHANGELOG=test fix
NO_DOC=test fix
NO_DOC=test fix
parent 0eac13b9
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,6 @@ g.test_upgrade = function()
g.upgrade:exec(function()
local t = require('luatest')
box.schema.upgrade()
local _session_settings_privs
local public_privs = box.schema.role.info('public')
for _, priv in pairs(public_privs) do
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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