Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-572

cimi: resource metadata tests failing on mock with undefined method `parse' for ResourceMetadataCollection:Class

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Description

      d:\sources\OSS\cloud\deltacloud-core\tests>ruby cimi\rmd1_test.rb
      19 cloud providers loaded.
      Run options: --seed 5965

      1. Running tests:

      EEEE....EE....

      Finished tests in 8.720000s, 1.6055 tests/s, 4.8165 assertions/s.

      1) Error:
      ResourceMetadataCollection#test_0001_should have root collections [xml]:
      NoMethodError: undefined method `parse' for ResourceMetadataCollection:Class
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:538:in `parse'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:475:in `fetch'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:436:in `block (2 levels) in query_the_cep'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:428:in `each'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:428:in `block in query_the_cep'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:490:in `instance_eval'
      d:/sources/OSS/cloud/deltacloud-core/tests/cimi/test_helper.rb:490:in `block (2 levels) in it'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dkoper Dies Koper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: