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

Acceptance: test that failover information is added to the report

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.6.0
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      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
    • Story Points:
      3
    • Sprint:
      Client 2016-07-13 (HA, 1.5.3)
    • Release Notes:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support