projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14807: Merge branch 'master'
[arvados.git]
/
services
/
api
/
test
/
unit
/
crunch_dispatch_test.rb
diff --git
a/services/api/test/unit/crunch_dispatch_test.rb
b/services/api/test/unit/crunch_dispatch_test.rb
index d091847df2a20a19bbf08d55a5a9c8e511b8d7b9..3460abe3cc6c50ac4e2f1a40fbbe2acb22350c0b 100644
(file)
--- a/
services/api/test/unit/crunch_dispatch_test.rb
+++ b/
services/api/test/unit/crunch_dispatch_test.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'test_helper'
require 'crunch_dispatch'
require 'helpers/git_test_helper'
require 'test_helper'
require 'crunch_dispatch'
require 'helpers/git_test_helper'
@@
-208,7
+212,7
@@
class CrunchDispatchTest < ActiveSupport::TestCase
act_as_system_user do
dispatch = CrunchDispatch.new
act_as_system_user do
dispatch = CrunchDispatch.new
- squeue_resp = IO.popen("echo zzzzz-8i9sb-pshmckwoma9plh7\necho thisisnotvalidjobuuid\necho zzzzz-8i9sb-4cf0abc123e809j\n")
+ squeue_resp = IO.popen("echo zzzzz-8i9sb-pshmckwoma9plh7\necho thisisnotvalidjobuuid\necho zzzzz-8i9sb-4cf0abc123e809j\n
echo zzzzz-dz642-o04e3r651turtdr\n
")
scancel_resp = IO.popen("true")
IO.expects(:popen).
scancel_resp = IO.popen("true")
IO.expects(:popen).