[ARVADOS] updated: 72fb7ca979e133064f0c41193222fe352f7fbf8a

git at public.curoverse.com git at public.curoverse.com
Fri Sep 19 09:51:52 EDT 2014


Summary of changes:
 services/api/test/unit/job_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  72fb7ca979e133064f0c41193222fe352f7fbf8a (commit)
      from  3294cfcae73fe5b2cff051298b26076103251ca9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 72fb7ca979e133064f0c41193222fe352f7fbf8a
Author: radhika <radhika at curoverse.com>
Date:   Fri Sep 19 09:43:14 2014 -0400

    3898: couple more test assertions

diff --git a/services/api/test/unit/job_test.rb b/services/api/test/unit/job_test.rb
index 0563bc4..53aec28 100644
--- a/services/api/test/unit/job_test.rb
+++ b/services/api/test/unit/job_test.rb
@@ -163,8 +163,8 @@ class JobTest < ActiveSupport::TestCase
     [['state', 'Running', 'error']],  # is_locked_by_uuid is not set
     [['is_locked_by_uuid', 'use_current_user_uuid', [['state', 'Queued']]], ['state', 'Running', [['running', true], ['started_at', 'not_nil'], ['success', 'nil']]]],
     [['running', false, [['state', 'Queued']]], ['state', 'Complete', [['success', true]]]],
-    [['running', true, [['state', 'Running']]], ['cancelled_at', Time.now, [['state', 'Cancelled'],['running', false]]]],
-    [['running', true, [['state', 'Running']]], ['state', 'Cancelled', [['running', false],['cancelled_at', 'not_nil']]]],
+    [['running', true, [['state', 'Running']]], ['cancelled_at', Time.now, [['state', 'Cancelled'],['running', false],['started_at', 'not_nil']]]],
+    [['running', true, [['state', 'Running']]], ['state', 'Cancelled', [['running', false],['cancelled_at', 'not_nil'],['started_at', 'not_nil']]]],
     [['running', true, [['state', 'Running']]], ['success', true, [['state', 'Complete'],['running', false],['finished_at', 'not_nil']]]],
     [['running', true, [['state', 'Running']]], ['success', 'false', [['state', 'Failed'],['running', false],['finished_at', 'not_nil']]]],
     [['running', true, [['state', 'Running']]], ['state', 'Complete', [['success', true],['running', false],['finished_at', 'not_nil']]]],

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list