Skip to content
Snippets Groups Projects
  1. Mar 21, 2011
  2. Mar 18, 2011
  3. Mar 16, 2011
    • Konstantin Osipov's avatar
      Test-runner: provide a correct fix for SIGCHLD issue · e50e8fc5
      Konstantin Osipov authored
      Revert the yesterday's patch that installs SIGCHLD
      handler to early collect <defunct> server processes
      that received SIGSEGV/otherwise somehow terminated
      abnormally.
      
      The invinite loop in Tarantool_connection::recvall()
      was caused by misuse of the Python socket API,
      not by the fact that the sending side was still
      "alive".
      
      The correct fix simply checks for EOF received from
      the other end and raises an exception if
      we expected some data and got a EOF.
      e50e8fc5
  4. Mar 15, 2011
    • Konstantin Osipov's avatar
      Test-runner: update the sigchld handler (debug). · 640a81a7
      Konstantin Osipov authored
      Iron out thet sigchld handler.
      640a81a7
    • Konstantin Osipov's avatar
      Test-runner: add signal handler for SIGCHLD · 83434893
      Konstantin Osipov authored
      If Tarantool server segfaults when a test is
      running, it used to hand in <defunct> state,
      since there was no wait() call in the parent
      to collect child process state. All file descriptors,
      as well as open sockets, of a <defunct> process were
      left open. This lead to the test runner cycling
      in an infinite loop in recv() from the server,
      and the whole test suite to, ultimately, hanging
      in a busy wait.
      
      This looks more like a bug in python pexpect,
      but install a SIGCHLD handler to work it around,
      and collect child data immediately as soon as
      child terminates.
      83434893
  5. Mar 14, 2011
  6. Mar 09, 2011
  7. 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
  8. Mar 04, 2011
  9. Mar 01, 2011
  10. Feb 28, 2011
    • Konstantin Osipov's avatar
      A fix and a test case for Bug#726778 · e0e9eb0a
      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.
      e0e9eb0a
    • Konstantin Osipov's avatar
      Some initial fixed to compile on FreeBSD. · a6c1f381
      Konstantin Osipov authored
      Implement a number of simple fixes to compile on FreeBSD:
      - work correctly with a GCC version that doesn't have
        -Wno-unused-result
      - compile even if not GNU libc
      - tee doesn't have '--append' option on FreeBSD, use
        the short version ('-a').
      - fix a typo in log_io.c, ENOENT, not ENONET.
      a6c1f381
  11. Feb 25, 2011
  12. Feb 24, 2011
  13. Feb 22, 2011
    • Konstantin Osipov's avatar
      CPack: initial commit. · 1cbe4ca8
      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.
      1cbe4ca8
  14. Feb 21, 2011
  15. Feb 17, 2011
  16. Feb 16, 2011
Loading