[Tarantool-patches] [PATCH 1/3] test: fix flaky box/access_sysview.test.lua

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Nov 1 00:42:32 MSK 2019


Some guest user privileges were not revoked in the
end.
---
 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 3072b7394..1f33deceb 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 031df28aa..17420ae33 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')
-- 
2.21.0 (Apple Git-122.2)



More information about the Tarantool-patches mailing list