[Tarantool-patches] [PATCH v4 12/12] txm: add a test
Nikita Pettik
korablev at tarantool.org
Tue Sep 15 21:05:23 MSK 2020
On 08 Sep 13:22, Aleksandr Lyapunov wrote:
> Part of #4897
> ---
> diff --git a/test/box/tx_man.test.lua b/test/box/tx_man.test.lua
> new file mode 100644
> index 0000000..de5a734
> --- /dev/null
> +++ b/test/box/tx_man.test.lua
> @@ -0,0 +1,122 @@
> +env = require('test_run')
> +test_run = env.new()
> +test_run:cmd("create server tx_man with script='box/tx_man.lua'")
> +test_run:cmd("start server tx_man")
> +test_run:cmd("switch tx_man")
> +
> +txn_proxy = require('txn_proxy')
> +
> +s = box.schema.space.create('test')
> +i = s:create_index('pk', {parts={{1, 'uint'}}})
> +i = s:create_index('sec', {parts={{2, 'uint'}}})
> +
Uncovered test scenarious: more than two indexes; more than one space;
unique secondary indexes; recovery; triggers; rollbacks...
More information about the Tarantool-patches
mailing list