X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/660e8d8345bfe7f34dfc8db655eff6a0af8bd47f..0510460e9c5ad8f3d8cf20aa9428115e43284659:/services/api/test/functional/arvados/v1/jobs_controller_test.rb diff --git a/services/api/test/functional/arvados/v1/jobs_controller_test.rb b/services/api/test/functional/arvados/v1/jobs_controller_test.rb index a90b83ff15..9904c833c8 100644 --- a/services/api/test/functional/arvados/v1/jobs_controller_test.rb +++ b/services/api/test/functional/arvados/v1/jobs_controller_test.rb @@ -18,6 +18,8 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase new_job = JSON.parse(@response.body) assert_not_nil new_job['uuid'] assert_not_nil new_job['script_version'].match(/^[0-9a-f]{40}$/) + # Default: not persistent + assert_equal false, new_job['output_is_persistent'] end test "normalize output and log uuids when creating job" do @@ -221,7 +223,8 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase } assert_response :success found = assigns(:objects).collect(&:uuid) - assert_equal true, !!found.index('zzzzz-8i9sb-pshmckwoma9plh7') + assert_equal 0, found.index('zzzzz-8i9sb-pshmckwoma9plh7') + assert_equal 1, found.count end test "search jobs by nonexistent column with < query" do