- 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
Conflicts: doc/silverbox-protocol.txt
-
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.
-
- Dec 14, 2010
-
-
Konstantin Osipov authored
Add test/lib/ for python modules. Create the first module that implements admin connection. Automatically read host and port and pidfile from tarantool configuration file, and thus remove them from suite.ini. Change .gitignore and remove a too broad ignore mask (it ignored __init__.py, which is mandatory file name for a module in python). Fix a bug in config reader for tarantool that would leave "box.pid" in quotes. Move TestSuite and Test to a lib/ module. Patch cmdline.py and ./admin.py to read input in line-buffered fashion (used to be block-buffered), regardless of whether input is a terminal or a pipe. This allows to work with these tools interactively.
-
- Dec 13, 2010
-
-
Konstantin Osipov authored
Update silverbox protocol description to use BNF. Add more comments. Explain semantics of protocol fields and restrictions on field content.
-
Konstantin Osipov authored
Update silverbox protocol description to use BNF. Add more comments. Explain semantics of protocol fields and restrictions on field content.
-
Konstantin Osipov authored
When called from a non-default location (non-working directory), print usage, tell where to invoke the program from, and bail out.
-
- Dec 10, 2010
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add a new test suite, cmd. Add a new driver for this suite, cmdline.py. This driver reads arguments from the test, and executes the server with these arguments. Server output is passed on as test result. @todo: It's not necessary to start/stop the server for 'cmd' suite. Will be fixed when how to start/stop server is defined in suite.ini (we'll then be able to define a no-op start/stop routines). @todo tarantool_silverbox output is hard to auto-verify since it contains the current time and process id. Either implement a way to mask out pieces of output from the result file (preferrable), or change tarantool to not output volatile data. test-run.py modified: we now can preprocess suite.ini "client" parameters, and substitute $constants in them, e.g. $server. @todo: provide ability to substitute $constants in .test files as well.
-
- Dec 09, 2010
-
-
Konstantin Osipov authored
Provide options to admin.py to use it not just as a test console, but aslo as an interactive client.
-
Yuriy Vostrikov authored
* u64-indexes: [box] Add kostja's comments and simplify field_compare. [box] Correctly compare multicolumn indeces with NUM64 keys. [box] Remove experemental code. [box] Add support of u64 hash index. [box] Rename khash structures in more consistent way. [box] Add suport of u64 hash indeces.
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Delete a temporary file used for build.
-
- Dec 08, 2010
-
-
Konstantin Osipov authored
Fix 'make test' failure after pull from master.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Test runner: provide better comments, add a summary of failing tests when running with --force. Change indentation.
-
- Dec 07, 2010
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
* public/memcached-expire-stat: [box] Enable accidently disabled expire in memcached mode. [box] Repair memcached statistic. * Enable statistic collection. * Add counter of expire rate. [core] Better param name in stat_register() [core] Fix bug causing last stat value being ignored.
-
Yuriy Vostrikov authored
* public/core-cfg_get: [core] cfg_get: return 1 if param is missing in config file [core] add --cfg_get option
-
Roman Tokarev authored
-
- Dec 06, 2010
-
-
Yuriy Vostrikov authored
Merge remote branches 'public/fiber-raise', 'public/core-pull_from_remote_exit' and 'public/core-remote_state_to_header' * public/fiber-raise: [core] Add ability to raise an exception in the other fiber. * public/core-pull_from_remote_exit: [core] exit from 'remote hot standby' fiber in case of EXIT_FIBER exception * public/core-remote_state_to_header: [core] move remote_state to log_io header
-
Konstantin Osipov authored
Implement https://blueprints.launchpad.net/tarantool/+spec/tarantool-test-runner. This commit adds an implementation of test running framework (test-run.py), and a simplistic interactive client for the administartive console of tarantool (admin.py). A prototype of the first test suite is added in directory test/box. "run" is a convenience symlink to test-run.py. This commit also adds "make test" goal to the top-level makefile.
-
Roman Tokarev authored
-
Roman Tokarev authored
-
Roman Tokarev authored
-
Yuriy Vostrikov authored
-
- Dec 03, 2010
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
* Enable statistic collection. * Add counter of expire rate.
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
- Dec 02, 2010
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
- Dec 01, 2010
-
-
Konstantin Osipov authored
Going forward, 'test' will contain tests. Do not delete it in make clean.
-
Yuriy Vostrikov authored
-
- Nov 26, 2010
-
-
Konstantin Osipov authored
Make links to launchpad proper urls. Fix spelling.
-
Konstantin Osipov authored
Update TODO file in the source directory: - migrate incomplete items to launchpad - remove completed tasks - add a reference to launchpad.
-