X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/82a3d53af36a8374a4a1f28a19c69feabe8ca217..ec38fcda26fc3a835a56dd9d50aac0650b4dc770:/services/api/test/unit/node_test.rb diff --git a/services/api/test/unit/node_test.rb b/services/api/test/unit/node_test.rb index ef500362d7..e5b88354fb 100644 --- a/services/api/test/unit/node_test.rb +++ b/services/api/test/unit/node_test.rb @@ -125,11 +125,4 @@ class NodeTest < ActiveSupport::TestCase refute_nil node2.slot_number assert_equal "custom1", node2.hostname end - - test "ping node with no hostname and malformed config and expect nil for hostname" do - Rails.configuration.assign_node_hostname = 'compute%04' # should end with "04d" - assert_raise ArgumentError do - ping_node(:new_with_no_hostname, {}) - end - end end