-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
3
-
False
-
-
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.