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

Konstantin Osipov kostja.osipov at gmail.com
Mon Nov 4 20:20:05 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/11/01 00:39]:
> 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')

lgtm


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list