Skip to content
Snippets Groups Projects
  1. Apr 22, 2015
  2. Apr 17, 2015
  3. Nov 24, 2014
  4. Oct 13, 2014
  5. Apr 22, 2014
  6. Mar 21, 2014
  7. Mar 20, 2014
  8. Mar 12, 2014
  9. Feb 07, 2014
    • Eugine Blikh's avatar
      Minor class movements and cleanups · 6cb46287
      Eugine Blikh authored
      6cb46287
    • Eugine Blikh's avatar
      Create new version of tarantool_python.py with new TarantoolServer: · e83cc72f
      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
      e83cc72f
  10. Feb 03, 2014
    • Konstantin Osipov's avatar
      Implement #! (aka hashbang, aka shebang) (gh-184) · 50b2a848
      Konstantin Osipov authored
      Allow start of tarnatool_box in #! form.
      
      Remove script_dir.
      
      Make all configuration options optional (primary_port
      was the last one required).
      Make the configuration file itself optional.
      
      If no watcher is started for the event loop, either based on
      the config file settings, or in the #! script, do not start the event loop.
      
      Update the test runner to take the new changes into account.
      
      Fix a bug in symbols_load() when no symbols
      could be loaded when path to executable was neither
      relative nor absolute (but based on PATH).
      
      Fix a bug with ignored return value of slab_arena_create()
      in tuple.cc
      50b2a848
  11. Dec 30, 2013
  12. Dec 09, 2013
  13. Dec 05, 2013
  14. Sep 04, 2013
    • Eugine Blikh's avatar
      Rewrite hot_standby test, consistent test. · b7f23a18
      Eugine Blikh authored
      Fix session and bad_trigger test
      Fix output (remove garbage, fix whe interrupted by exceptions)
      Add list of broken tests when tests are run with "./test-run.py --force" flag (make test-force)
      b7f23a18
  15. Jul 29, 2013
  16. Jul 19, 2013
  17. Jul 04, 2013
  18. Jun 26, 2013
    • Konstantin Osipov's avatar
      Do not delete the entire varidir on test start. · 1e319160
      Konstantin Osipov authored
      Don't drop entire vardir on test suite start, it may have
      symlinks, configuration files, etc. - useful for debugging.
      1e319160
    • Eugine Blikh's avatar
      Fix bugs: · 3768bcac
      Eugine Blikh authored
      1) Temporary result files weren't deleted, if test's skipcond failed.
      2) Vardir is removed when tests started.
      3) Sort tests and test-suites by name
      4) Added cleanup to box/lua.test
      3768bcac
  19. Jun 25, 2013
  20. Jun 21, 2013
    • Eugine Blikh's avatar
      Write Unit-Test backend for Tarantool testing system: · bd7269ee
      Eugine Blikh authored
      In the first place Tarantool has only one kind of test - functional testing.
      But, when system began to grow, and each component (inside it) is needed to be tested thoroughly.
      
      * 	Added support of UnitTest without creating of *.test file, that contains "run_test("*")"
      	(Added UnitTest(Test) in the unittest_server.py, FuncTest(Test) in the tarantool_server.py.
      	Now, when we search for tests we tell server to search them, and when we want to execute all
      	tests TestSuite runs `execute` method of specific Test subclass)
      
      * 	Fix of bug, that throwing OSError exception, when running by "python test-run.py",
      	instead of "./test-run.py"
      bd7269ee
  21. Jun 20, 2013
    • Eugine Blikh's avatar
      Refactoring of Testing System: · fafee7bc
      Eugine Blikh authored
      1) Delete TarantoolServer class, delegate it's behaviour to TarantoolBoxServer and rename it to TarantoolBox
      2) Delete 'module' from .ini file (Not needed anymore, cause of Tarantool/Box is now Tarantool and it has only one backend.
      3) Refactoring of code respectivly for changes in 1, 2
      fafee7bc
  22. Jun 18, 2013
  23. Aug 06, 2012
    • Konstantin Osipov's avatar
      Sync log at close. · 6112456b
      Konstantin Osipov authored
      Sync the WAL at close time.
      Fix a race condition between wal_schedule and ev_schedule
      this revealed.
      
      A cancelled fiber could get scheduled by wal_schedule.
      Do not allow to asynchronously cancel a fiber which
      is a part of WAL scheduler queue.
      Add a test case.
      6112456b
  24. Aug 22, 2011
  25. Jun 27, 2011
  26. Jun 15, 2011
  27. Mar 18, 2011
    • Roman Tokarev's avatar
      Test-runner: · 7bd33e64
      Roman Tokarev authored
      	 generalize Server class
      	 implement TarantoolServer class
      	 implement TarantoolSilverboxServer class
      	 implement TarantoolFeederServer class
      	 a lot changes in interfaces and bugfixes
      7bd33e64
  28. Mar 07, 2011
    • Konstantin Osipov's avatar
      Test-runner: extend the grammar to cover Bug#729758 · 7aa6cc8a
      Konstantin Osipov authored
      Allow disjunctions in SELECT WHERE clause and LIMIT
      clause in SELECT, to be able to cover the problem
      reported in Bug#729758.
      
      Fix a bug with prepare_gdb arguments (remove an extra
      space in -e option).
      
      Add a simple test for Bug#729758.
      
      The following bugs were reported in the process:
      
      Bug#729789 "Zero limit is treated the same as no limit"
      Bug#730593 "Bad data if incomplete tuple"
      Bug#730613 "SELECT with a disjunction on multiple keys returns
      matching tuples twice"
      7aa6cc8a
  29. Feb 27, 2011
  30. Feb 25, 2011
  31. Feb 21, 2011
  32. Feb 17, 2011
    • Konstantin Osipov's avatar
      Minor cleanups · 03dcd837
      Konstantin Osipov authored
      Rename a test file to avoid shell escapes, align
      a comment, modify ./test-run defaults to follow
      the new build layout.
      03dcd837
  33. Feb 09, 2011
  34. Feb 07, 2011
  35. Feb 04, 2011
    • Konstantin Osipov's avatar
      Blueprint 'cmake-based-build' initial commit. · 82e966b3
      Konstantin Osipov authored
      Use CMake to:
      - Compile tarantool_silverbox, tarantool_feeder.
      - enable ./test-run testing out-of-source
      - implement Debug/Release configurations
      - add ENABLE_BACKTRACE ENABLE_TRACE and HAVE_BFD switches
      - support auto-generated targets
      82e966b3
Loading