Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-34398

[QE] [payload-tracker] modify iqe test to seed the database itself

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      Currently the payload-tracker integration/iqe tests are failing when they run in konflux.  They are failing because the database is not seeded and the tests depend on the data already being in the database.

      I made the assumption that the iqe tests were independent / standalone.  This turned out to be a incorrect assumption.  It fooled me.

      I think having the tests be able to stand on their own is the right approach.  

      I can think of 2 appraoches:  1) we just add some sql code to the existing iqe tests that writes the expected data to the database.  2) we add some code that writes the correct looking messages to the payload tracker kafka topic and lets the payload tracker kafka consumer write the data to the database.

      Option 2 gives us a bit of testing for the kafka consumer as well.

              bschneid@redhat.com Brandon Schneider
              rhn-support-dehort Derek Horton
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: