From dc8183497b69e4b6c2e8132aad560bfcda971fa6 Mon Sep 17 00:00:00 2001 From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Date: Thu, 31 Oct 2019 21:16:01 +0100 Subject: [PATCH] test: fix flaky box/access_sysview.test.lua Some guest user privileges were not revoked in the end. (cherry picked from commit 44d4555b2aad5064a94ee219befc6f71855fb973) --- test/box/access_sysview.result | 2 +- test/box/access_sysview.test.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/box/access_sysview.result b/test/box/access_sysview.result index a82127ebbe..86fc1ff956 100644 --- a/test/box/access_sysview.result +++ b/test/box/access_sysview.result @@ -689,7 +689,7 @@ box.session.su('admin') --- ... -- _vcollation is readable anyway. -box.schema.user.revoke("guest", "read", "space", "_collation") +box.schema.user.revoke("guest", "read, write, alter, execute", "space", "_collation") --- ... box.session.su("guest") diff --git a/test/box/access_sysview.test.lua b/test/box/access_sysview.test.lua index 031df28aaf..17420ae33e 100644 --- a/test/box/access_sysview.test.lua +++ b/test/box/access_sysview.test.lua @@ -287,7 +287,7 @@ box.space._vcollation:select{0} box.session.su('admin') -- _vcollation is readable anyway. -box.schema.user.revoke("guest", "read", "space", "_collation") +box.schema.user.revoke("guest", "read, write, alter, execute", "space", "_collation") box.session.su("guest") #box.space._vcollation:select{} session.su('admin') -- GitLab