Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1093

Add Retry for Passthrough CSIT Tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • New Delhi Release
    • None
    • NCMP
    • None

      Derived from comments @ https://gerrit.onap.org/r/c/cps/+/129136

      Comments from https://gerrit.onap.org/r/c/cps/+/129136
      Instead of sleep or update the API manually, We could introduce a retry mechanism (simple loop with max number of retry attempts) to check the status of the cm handle periodically and if it is changed to READY then proceed further otherwise let the test case fail.
      We are trying to write test case to check the system failure and due to some reason if the Watchdog fails to update the cm handle state then it is the intended behaviour and lets not try to fix that here in the CSIT.

      A/C:
      Check if sleep is necessary:

      • If necessary move sleep 10 to the next test
      • change to a recheck mechanism

            JvD_Ericsson JEFF VAN DAM
            josephkeenan josephkeenan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: