Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6383

Acceptance: test that failover information is added to the report

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.6.0
    • None
    • Hide

      Acceptance test to verify that:

      • the correct master is listed in the report when failover functionality is used
      • no master is listed if not using failover
      Show
      Acceptance test to verify that: the correct master is listed in the report when failover functionality is used no master is listed if not using failover
    • 3
    • Client 2016-07-13 (HA, 1.5.3)
    • Not Needed

    Description

      The report will specify which master was successfully used (See PUP-6378). The actual key in the report has the following specification:

              "master_used": {
                  "description": "The name and port of the master that was used to compile the catalog. If failover occurred, this will hold the first master successfully contacted. If this run had no master (e.g. a `puppet apply` run), this field will be blank",
                   "type": "string"
               },
      

      Write a test similar to tests/reports/cached_catalog_status_in_report.rb to check the report..

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              whopper William Hopper
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support