Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-450

Fix unit test that barfs all over version ID 4.0.0-rc1

    XMLWordPrintable

    Details

    • Template:
    • Sub-team:
    • Story Points:
      1
    • Sprint:
      Server Emerald 2015-03-18

      Description

      Version identifiers! They seem so easy!

      Updating puppet-server to use puppet-agent from http://builds.puppetlabs.lan/puppet-agent/890a4a29148a3ae2997cb1cf2cefd329e6badf3d/ which includes the puppet from tag 4.0.0-rc1, we get the following unit test failure.

      lein test :only puppetlabs.services.config.puppet-server-config-service-test/config-service-functions
       
      FAIL in (config-service-functions) (puppet_server_config_service_test.clj:57)
      Basic puppet-server config service function usage The config service has puppet's version available.
      expected: (valid-semver-number? (get-in-config service [:puppet-server :puppet-version]))
        actual: (not (valid-semver-number? "4.0.0-rc1"))
      

      This unit test needs to be fixed before we're able to fully test puppetserver integrated with puppet-agent.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeff Jeff McCune
              Reporter:
              jeff Jeff McCune
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support