Created two types of test server, that inherit from TarantoolServer:
1) Lua Tarantool Server, that runs plain lua code and admin server commands (separated ';\n') 2) Python Tarantool Server, that runs old plain tests. Also created Two types of tests, that inherit FuncTest (Cause they're FuncTest): 1) LuaTest -> Lua Tarantool Server 2) PythonTest -> Python Tarantool Server In the future we plans to add luabench as one of Test types Rename all cores to appropriate names of server (now it's 'lua tarantool' and 'python tarantool') Prepare to remove lua prefixes (if you need to test wrong or nonimplemmented command you may run 'admin('cmd', simple=True)') If you want to implement new server command - add needed regexp to admin_connection.py. if it's fixed length command, then add it to rg1, else rg2
Showing
- test/big/suite.ini 1 addition, 0 deletionstest/big/suite.ini
- test/box/sql.test 1 addition, 1 deletiontest/box/sql.test
- test/box/suite.ini 1 addition, 0 deletionstest/box/suite.ini
- test/connector_c/suite.ini 1 addition, 0 deletionstest/connector_c/suite.ini
- test/lib/admin_connection.py 42 additions, 4 deletionstest/lib/admin_connection.py
- test/lib/lua_tarantool_server.py 28 additions, 0 deletionstest/lib/lua_tarantool_server.py
- test/lib/python_tarantool_server.py 26 additions, 0 deletionstest/lib/python_tarantool_server.py
- test/lib/tarantool_connection.py 5 additions, 2 deletionstest/lib/tarantool_connection.py
- test/lib/tarantool_server.py 8 additions, 21 deletionstest/lib/tarantool_server.py
- test/lib/test_suite.py 0 additions, 1 deletiontest/lib/test_suite.py
- test/memcached/suite.ini 1 addition, 0 deletionstest/memcached/suite.ini
- test/replication/suite.ini 1 addition, 0 deletionstest/replication/suite.ini
- test/wal/suite.ini 1 addition, 0 deletionstest/wal/suite.ini
Loading
Please register or sign in to comment