Uploaded image for project: 'Automation Analytics'
  1. Automation Analytics
  2. AA-1610

QE: Utility tool: positive test - restore host

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.4
    • None
    • QE
    • False
    • Hide

      None

      Show
      None
    • False
    • ANSTRAT-268 - Utility for collecting ansible usage data
    • Sprint ending March 22, 2023, Sprint ending April 19, 2023

      need to check that restoring a host update both tables (HostMetric & playbook_on_stats) with right values

       

      steps:

      1. Given an automated host in the `host_metrics`
      2.  Delete the host
      3.  Wait for it to appear in the `playbook_on_stats`
      4.  Assert it was included in the host metrics
      5.  Assert it has `automated_counter` set to 1
      6.  Assert it has `deleted_counter` set to 1
      7.  Assert it has `last_deleted` set to `now()` 
      8.  Assert it has `deleted` set to `True`
      9.  Assert all other fields has default value.

              rhn-support-orhochma Or Hochmann
              rhn-support-orhochma Or Hochmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: