File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 4545- Add new module ` tarantool.lua ` .
4646- Auto-require ` luatest ` module in ` Server:exec() ` function where it is available
4747 via the corresponding upvalue.
48+ - Add new function ` tarantool.skip_if_not_enterprise ` .
4849
4950## 0.5.7
5051
Original file line number Diff line number Diff line change @@ -37,6 +37,15 @@ function M.skip_if_enterprise(message)
3737 )
3838end
3939
40+ --- Skip a running test if Tarantool package is NOT Enterprise.
41+ --
42+ -- @string[opt] message Message to describe the reason.
43+ function M .skip_if_not_enterprise (message )
44+ assertions .skip_if (
45+ not M .is_enterprise_package (), message or ' package is not Enterprise'
46+ )
47+ end
48+
4049--- Search for a fiber with the specified name and return the fiber object.
4150--
4251-- @string name Fiber name.
You can’t perform that action at this time.
0 commit comments