[tarantool-patches] Re: [PATCH v1 1/2] sql: finish clean-up in view_delayed_wal test

n.pettik korablev at tarantool.org
Thu Jun 21 18:48:41 MSK 2018


> diff --git a/test/sql/view_delayed_wal.test.lua b/test/sql/view_delayed_wal.test.lua
> index 630c52b..8c30fc6 100644
> --- a/test/sql/view_delayed_wal.test.lua
> +++ b/test/sql/view_delayed_wal.test.lua
> @@ -43,3 +43,5 @@ box.space.V2
> -- SQL data dictionary we have to restart instance to clean up.
> --
> test_run:cmd('restart server default')
> +
> +box.sql.execute("DROP TABLE t2”)

Actually, this is my mistake: I thought that 'restart server’ would delete xlog files…
You can simply substitute test_run:cmd(‘restart server default’) with test_run:cmd(’clean up server default’).
It is what exactly I wanted to do when I was writing this test.





More information about the Tarantool-patches mailing list