Extract xlog.test into an own test suite. Deal with the collateral damage.
Extract xlog.test.py into an own test suite, in preparation for a split into many tests. xlog.test.py restarts the server all the time anyway, there is no point to keep all tests in the same file. Deal with collateral damange of this seemingly innocuous move: * fix an assertion failure in user.drop(), user_has_data(). The check was using a wrong index. * fix test-run.py to leave cores around in case of a server crash (in a friendly gesture to develoeprs, and joining the ranks of such extremely succefful applications as apport and systemd, it used to delete them) * update bootstrap.snap to provide format for _index space * make a bunch of tests safe to the order in which they are executed * use space name rather than space id for error messages more often, since space id is very volatile after introduction of max_id sequence for space ids.
Showing
- extra/schema_fill.lua 8 additions, 0 deletionsextra/schema_fill.lua
- src/box/alter.cc 9 additions, 5 deletionssrc/box/alter.cc
- src/box/bootstrap.snap 0 additions, 0 deletionssrc/box/bootstrap.snap
- src/box/lua/schema.lua 24 additions, 6 deletionssrc/box/lua/schema.lua
- test/box/access_misc.result 4 additions, 2 deletionstest/box/access_misc.result
- test/box/alter.result 1 addition, 1 deletiontest/box/alter.result
- test/box/alter_limits.result 10 additions, 18 deletionstest/box/alter_limits.result
- test/box/alter_limits.test.lua 5 additions, 6 deletionstest/box/alter_limits.test.lua
- test/box/bad_record.xlog 0 additions, 0 deletionstest/box/bad_record.xlog
- test/box/bootstrap.result 3 additions, 1 deletiontest/box/bootstrap.result
- test/box/empty.xlog 0 additions, 0 deletionstest/box/empty.xlog
- test/box/errinj.result 1 addition, 1 deletiontest/box/errinj.result
- test/box/iproto.result 3 additions, 0 deletionstest/box/iproto.result
- test/box/iproto.test.py 1 addition, 0 deletionstest/box/iproto.test.py
- test/box/just_header.xlog 0 additions, 0 deletionstest/box/just_header.xlog
- test/box/sql.result 3 additions, 0 deletionstest/box/sql.result
- test/box/sql.test.py 1 addition, 0 deletionstest/box/sql.test.py
- test/lib/test_suite.py 4 additions, 2 deletionstest/lib/test_suite.py
- test/xlog/suite.ini 9 additions, 0 deletionstest/xlog/suite.ini
- test/xlog/xlog.lua 11 additions, 0 deletionstest/xlog/xlog.lua
Loading
Please register or sign in to comment