1. 07 8月, 2014 4 次提交
    • C
      journal plugin: make code more resilient · c234b5d5
      Cleber Rosa 提交于
      In some circurnstances, the journal may be accessed simultaneously by
      multiple code paths. The database consistency should be enforced in any
      case, and only initialized and populated when appropriate.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      c234b5d5
    • C
      journal plugin: adapat to test state · 42dc1ded
      Cleber Rosa 提交于
      Since other more standard plugins have moved to test state in a previous commit
      the journal plugin should also follow that.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      42dc1ded
    • C
      Add Job's unique_id to test state · 50d1908c
      Cleber Rosa 提交于
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      50d1908c
    • C
      Separate test loading and introduce test state · 7a56123e
      Cleber Rosa 提交于
      This commit implements two very different things, but still very
      much connected:
      
      1) Separate test loading to the process that will be actually
      running the test. This leads to a better separation of duties of
      the process interacting with the user and the process that is
      actually doing the (usually) heavy work.
      
      2) Remove the pickling of the test instance and sending it back
      and forth.
      
      As an added bonus, it was noted during development, that both
      processes load all necessary Python modules (including the test
      module) when unmarshalling the pickled instance, resulting in
      unecessary work. Actual data on performance improvements were not
      collected though.
      
      It has one change in behaviour (regression) though. Test timeout
      now comes only from the test parameters. The reasoning is that
      since there's now a better separation of roles and the fact that
      the first process is not loading the test instance, it can not
      look at the timeout defined there.
      
      IMHO this is a sign of good design, since other types of test
      (think of shell scripts) can not communicate their intended timeout.
      Maybe a 'test.cfg' or something like that should be the solution to
      that.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      7a56123e
  2. 05 8月, 2014 2 次提交
  3. 04 8月, 2014 2 次提交
  4. 01 8月, 2014 7 次提交
  5. 31 7月, 2014 4 次提交
  6. 29 7月, 2014 10 次提交
  7. 26 7月, 2014 1 次提交
  8. 25 7月, 2014 1 次提交
  9. 22 7月, 2014 8 次提交
  10. 18 7月, 2014 1 次提交