- Aug 17, 2021
-
-
Vladimir Davydov authored
The test assumes that a version string looks like this 2.9.0-123-gabcabcababc. We want to append a flow string after <major>.<minor>.<patch>. Fix the test accordingly. Needed for #6183
-
- Apr 27, 2021
-
-
HustonMmmavr authored
Regex for validating version was expecting a single character (digit) for version `patch`, but it's not correct. This patch fixes test behaviour for tarantool 1.10.10 Close #6039
-
- Dec 25, 2020
-
-
Sergey Bronnikov authored
- convert print statement to function. In a Python 3 'print' becomes a function, see [1]. Patch makes 'print' in a regression tests compatible with Python 3. - according to PEP8, mixing using double quotes and quotes in a project looks inconsistent. Patch makes using quotes with strings consistent. - use "format()" instead of "%" everywhere 1. https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function Part of #5538
-
- May 20, 2020
-
-
Sergey Bronnikov authored
Part of #4967
-
- Feb 06, 2019
-
-
Serge Petrenko authored
After the patch which made os.exit() execute on_shutdown triggers (see commit 6dc4c8d7) we relied on on_shutdown triggers to break the ev_loop and exit tarantool. Hovewer, there is an auxiliary event loop which is run in tarantool_lua_run_script() to reschedule the fiber executing chunks of code passed by -e option and executing interactive mode. This event loop is started only to execute interactive mode, and doesn't exist during execution of -e chunks. Make sure we don't start it if os.exit() was already executed in one of the chunks. Closes #3966
-
- Mar 01, 2018
-
-
Konstantin Osipov authored
-
- Sep 14, 2017
-
-
Roman Tsisyk authored
-
- Aug 24, 2017
-
-
Konstantin Osipov authored
replication/cluster.test.py would fail at server exit, because at_exit() handler tries to destroy a cbus while its mutex is locked. args.test.py would fail when run with 'make test'
-
- Aug 22, 2017
-
-
Roman Tsisyk authored
Follow up #1265
-
Roman Tsisyk authored
Finally fix compatibility with Lua 5.1 command-line options. Closes #1265
-
Roman Tsisyk authored
-e EXPR - execute string 'EXPR -l NAME - require library 'NAME' A part of #1265
-
Roman Tsisyk authored
getopt_long() is available on all supported platforms. Get rid of legacy gopt and use getopt_long(). Incompatible changes: * `tarantool --version --no-such-option` printed "unrecognized option '--no-such-option'", now it displays version. `tarantool --no-such-option --version` still prints an error message. Needed for #1265
-
- Nov 13, 2015
- Nov 12, 2015
-
-
Sulverus authored
Test_suite restart disabled Legacy tests moved to separated suite
-
- Mar 26, 2014
-
-
Konstantin Osipov authored
Remove command line options: --cfg-get --check-config --config --init-storage - these are gone forever, in preparation for config-less start. --background -- move to tarantool.cfg for now, in the future it will be part of Lua config. Make #! mandatory - if the server is started without #!, it's only possible to query its version or get startup help (--version and --help are the only remaining supported options). When #! is present, do not parse options, pass them wholly to the script at hand. Add helper scripts to test suites, to start/stop the server. For now, the scripts are empty, in the future they will be merged with a respective config file.
-
- Feb 07, 2014
-
-
Eugine Blikh authored
Important changes: * lua_libs are now copy from TarantoolServer (if you need, e.g., to copy .lua or .xlog file when you starts server you may simply add it to server.lua_libs variable, and in the end simply delete it) * server now stops on random ports, for your convinience, when you `--start-and-exit` test-system - it shows on what port it starts * when you want to create a server, that is replica of some other server, you must do something like `replica.rpl_master = master`, then all will be ok. if hot_standby, then `hot_standby.hot_master = master`. when you stop working with it: `replica.rpl_master = None`.. * new option: server.shebang is used for running scripts, no need to spoil server.binary now. * for config, init_lua and other options now there are decoreators. you may use relative paths now. Other: * Some tests were rewritten for new TarantoolServer * Add `environment variables` for lua tests, possible to send it to server. * add rpl_master and hot_master for server directives in lua_tests (better idea, it seems, to move all `replication/` tests to python) Some issues: * --valgrind: 1. `chase_cuOff: no entry for 0x07422`... It garbages output. 2. If you redeploy server then valgrind log is overwritten. Possible solutions: a) `valgrind_disable` this tests. b) Append logfile with temporary logfiles. 3. Some memory leaks: need to be fixed. * --gdb: some minor code problems, all works, but tests, that crashes server won't work (new system of knowing that server is up) * Need of minor(!!) cleanup
-
- Nov 19, 2013
-
-
Dmitry E. Oboukhov authored
-
- Jul 23, 2013
-
-
Eugine Blikh authored
Returning tests to their previous place. Fixing error in tarantool_connection, that prevernts reconnection. Fixing bug in cas.test
-
- Jul 11, 2013
-
-
Roman Tsisyk authored
-
- Jan 10, 2013
-
-
Konstantin Osipov authored
Move third_party library compilation to the top level (less directory traversal). Provide an option for using system LibEIO/libobjc. Enforce a naming convention for cmake/ scripts (Find* and Build*). Move ev and eio wrappers to third-party (todo: delete them completely). There is one (known) problem with this patch: tarantool --version now prints incorrect compile flags. To be fixed in a separate patch.
-
- Jun 27, 2012
-
-
Pavel Cherenkov authored
-
- Jun 26, 2012
-
-
Pavel Cherenkov authored
macosx2: merging in (manually) previously unmerged changes (from macosx-port1), non-working tests: box/lua.test, box_big/lua.test connector_c/xlog_rpl.test
-
- Jun 15, 2012
-
-
Konstantin Osipov authored
-
- Feb 13, 2012
-
-
Konstantin Osipov authored
-
Dmitry Simonenko authored
- release_disabled test suite ini file option support - debug build only error-injection test, cmake build cleaner output - tarantool server version output with build flags
-
- Dec 23, 2011
-
-
Dmitry Simonenko authored
-
- Oct 13, 2011
-
-
Konstantin Osipov authored
A fix and a test case for https://bugs.launchpad.net/tarantool/+bug/750658 --background neither closes nor redirects stdin/stdout/stderr --background option didn't work properly, since stdin/stdout/ stderr streams were left open and pointing to a terminal. This lead to a hang when tarantool was started from a shell script or over ssh. If --background option is given, we need to fork, try to create a pid file, close stdin/stdout/stderr and then initialize the logging subsystem.
-
- May 14, 2011
-
-
Konstantin Osipov authored
Bug#748630, Make --help and --version follow GNU standard: 1.4 part. Rename --daemonize to --background to follow the GNU convention.
-
- May 13, 2011
-
-
Konstantin Osipov authored
-
- Apr 03, 2011
-
-
Damien Lefortier authored
A fix and a test case for https://bugs.launchpad.net/tarantool/+bug/748599 "tarantool_box --cfg-get="custom_proc_title" --> crash" A check was missing.
-
- Mar 18, 2011
-
-
Roman Tokarev authored
generalize Server class implement TarantoolServer class implement TarantoolSilverboxServer class implement TarantoolFeederServer class a lot changes in interfaces and bugfixes
-
- Feb 28, 2011
-
-
Konstantin Osipov authored
A fix and a test case for Bug#726778 "Gopt broke wal_dir and snap_dir: they are no longer relative to work_dir". Ensure that snap_dir and xlog_dir can be relative to work_dir. Ensure that chdir happens before we handle --init-storage. Do not mix declarations and definitions for recovery_state. Add a test case to args.test.
-
- Feb 24, 2011
-
-
Konstantin Osipov authored
Correct a regexp pattern in test suppression filter to work in a more modern version of python. In the new python \S matches '"', and the test output is different compared to the recorded one.
-
- Feb 22, 2011
-
-
Konstantin Osipov authored
Add the simplest CPack configuration for 'make package' and 'make package_source' targets. Add an empty snapshot to revision control to use in 'make package' and thus spare the user from the need to do --init-storage. Modify args.test to accept a bare (no git version) version number, and thus ensure the user from a yet another call before he/she can start work/play around.
-
- Dec 22, 2010
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
- Dec 17, 2010
-
-
Konstantin Osipov authored
Add coverage for (almost) all admin options. @todo: test 'exit' Add coverage for more test options. Make test results more host-independent. Extend lib/test_suite.py: if we filtered out entire line from the result, don't write newline to the result file.
-
- Dec 16, 2010
-
-
Konstantin Osipov authored
Split results from .test files into .result files. Make each individual test a small python program, which is executed from the context of the main interpreter. This allows for easy access to interpreter environment, such as the currently running server. Implement a pre-processor for .test files that replaces exec admin <expr> and exec sql <expr> with python syntax that actually sends string <expr> to tarantool server connection (lib.admin.Connection), and prints output to stdout (i.e. .reject file). Implement stdout filters, for use in .test files: this enables testing of statement that produce run-dependent or host-dependent results. Remove 'cmd' suite as unnecessary, args.test is moved to box.suite. @todo: make results of the test host-independent. Fix a bug in lib.admin.Connection (administrative connection) when it would block and indefinitely wait for response for some administrative commands.
-