summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-02-28 17:13:20 +0000
committerChristoph Helma <helma@in-silico.ch>2012-02-28 17:13:20 +0000
commitf40871b9b60ae706c0668c9ac4cfbfff866ce5dc (patch)
treee63e0a08523ea8ee07b933af2023cfd5f47f15a8 /test
parentfa9069e13fb6b1c8bb4ebcdf82f1cf1c04ad71ca (diff)
generic rest-client calls ignoring http errors from task services
Diffstat (limited to 'test')
-rw-r--r--test/task.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/task.rb b/test/task.rb
index 56b21cf..662a24d 100644
--- a/test/task.rb
+++ b/test/task.rb
@@ -25,7 +25,7 @@ class TaskTest < Test::Unit::TestCase
end
assert task.running?
assert_equal "Running", task.hasStatus
- task.wait_for_completion
+ task.wait
assert task.completed?
assert_equal "Completed", task.hasStatus
assert_equal TASK_SERVICE_URI, task.resultURI
@@ -49,7 +49,7 @@ class TaskTest < Test::Unit::TestCase
end
assert task.running?
assert_equal "Running", task.hasStatus
- task.wait_for_completion
+ task.wait
assert task.error?
assert_equal "Error", task.hasStatus
end
@@ -61,7 +61,7 @@ class TaskTest < Test::Unit::TestCase
end
assert task.running?
assert_equal "Running", task.hasStatus
- task.wait_for_completion
+ task.wait
assert task.error?
assert_equal "Error", task.hasStatus
end