-
Bug
-
Resolution: Done
-
Medium
-
Jakarta Release
There are currently no integration tests within NCMP-DMI plugin.
This has led to a gap in our testing as seen here in this commit, where CSIT tests would have failed as part of the URL change.
https://gerrit.onap.org/r/c/cps/ncmp-dmi-plugin/+/127466
Note - Make sure tests are running against latest NCMP-DMI plugin commit
Potential Solutions.
- Copy CSIT tests from CPS-Core when running NCMP-DMI-Plugin CI.
- Trigger CPS-Core Integration TESTS CI Job as part of NCMP commits.(Contact Andrew Fenner for help here.)
DMI-PLUGIN | V SDN-C | V Simulator CPS-NCMP CSIT test whole stack, with SNAPSHOT version of CPS-NCMP (current change) using MASTER-branch version of DMI-PLugin assuming dmi-plugin 2.0.0-snapshot assuming this is always pushed to nexus, timestamp?! or 'latest' ?! DMI-PLUGIN CSIT (New!!!) test DMI-PLUG and SDNC-C dn Simulator with SNAPSHOT (current change) version of DMI-PLUGIN - verify job, push to nexus? should NOT - merge job should push to nexus e.g. dmi-plugin 2.0.0-snapshot
A/C:
- Integration test should test the changes in latest commit(they should be triggered when there is any change submitted)
- Demo the test failing(by some dummy change that results in integration test failure)
- Demo to test the full-stack include pnf-simulator (read operation)
- We should get -1 and we cant merge the code when the tests fail.
Out of Scope :
- Separate task to add more test cases (discuss with the team on what scenarios needs to be added)