1. 01 Jun, 2010 2 commits
    • Iustin Pop's avatar
      Add a new opcode timestamp field · b9b5abcb
      Iustin Pop authored
      Since the current start_timestamp opcode attribute refers to the inital
      start time, before locks are acquired, it's not useful to determine the
      actual execution order of two opcodes/jobs competing for the same lock.
      This patch adds a new field, exec_timestamp, that is updated when the
      opcode moves from OP_STATUS_WAITLOCK to OP_STATUS_RUNNING, thus allowing
      a clear view of the execution history. The new field is visible in the
      job output via the 'opexec' field.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Guido Trotter's avatar
      Fix IgnoreSignals on socket.error · 14aeab22
      Guido Trotter authored
      Some confusion arose handling EINTR on this function: in python 2.6
      socket.error is an IOError, and thus:
        - It's an EnvironmentError
        - It has an .errno member
      In 2.4 and 2.5 it's not, and so its errno variable must be extracted
      from the args tuple. This patch fixes both the function, and the
      This is a cherry-pick of master commit
       with the portions not relevant
      to 2.1 removed (changes to the RetryOnSignals function).
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  2. 31 May, 2010 3 commits
  3. 27 May, 2010 1 commit
  4. 25 May, 2010 5 commits
  5. 24 May, 2010 1 commit
    • Guido Trotter's avatar
      TestSingleFileEventHandler: abstract notifier type · 49f986e7
      Guido Trotter authored
      Rather than hardcode that we have two notifiers, and notifier 0 is the
      terminating one, we abstract this with class level constants. This makes
      it easier to add more, with different features.
      The only real change is that now the callback class takes as input the
      whole test object, rather than just the notified array, to have access
      to those constants.
      The rest is just replacing of hardcoded 0s and 1s with
      self.NOTIFIER_TERM and self.NOTIFIER_NORM, and of notifier_count with
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
  6. 22 May, 2010 2 commits
  7. 21 May, 2010 4 commits
  8. 20 May, 2010 6 commits
  9. 18 May, 2010 4 commits
  10. 17 May, 2010 7 commits
  11. 14 May, 2010 5 commits