Inspec throws some deprecation warnings on Ubuntu-20.04
authorJavier Bértoli <jbertoli@curii.com>
Sun, 8 Aug 2021 19:29:42 +0000 (16:29 -0300)
committerJavier Bértoli <jbertoli@curii.com>
Sun, 8 Aug 2021 19:34:19 +0000 (16:34 -0300)
so I removed the stderr check on resources.

no issue #

Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

test/integration/controller/controls/resources_spec.rb

index 8d2175267da745ad17bca40e72fc8365482c5a08..47faa3fa128911c8e098f1215d4a68964def05db 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
 # frozen_string_literal: true
 
 query_virtual_machines = <<~TEST_VM_CMD
@@ -29,7 +32,6 @@ control 'arvados api resources' do
       end
       its('stdout') { should match(/"uuid":"fixme-2x53u-[a-z0-9_]{15}"/) }
       its('stdout') { should match(/"hostname":"#{vm}"/) }
-      its('stderr') { should eq '' }
       its('exit_status') { should eq 0 }
     end
 
@@ -42,7 +44,6 @@ control 'arvados api resources' do
           %r{"GET /arvados/v1/virtual_machines/fixme-2x53u-[a-z0-9]{15}/logins"}
         )
       end
-      its('stderr') { should eq '' }
       its('exit_status') { should eq 0 }
     end
   end