Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1819

Improve test class entity cleanup logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.10
    • merlin
    • None

    Description

      From discussion with Pragya Mittal:

      To got cleaned up, entity should have a name of form like: <prefix> [entity name itself]. Where prefix is either test class name or <'A'>+test class name hash code (depending on is_deprecate property from Merlin.properties).
      If entity name is something else, it wouldn't be removed.

      But seems that in case of FeedSubmitAndScheduleTest#snsDiffFeedDiffUserSameCluster feed is not getting deleted not bacause of that.
      As another user (root) is involved in test case (by submitting feed that belongs to this another user), we don't see that feed in listing feeds as test user (which is used by default to list and remove entities). Makes sense?
      So we need to improve clean up logic to handle entities belonging to different users.

      Attachments

        Activity

          People

            pisaychuk Paul Isaychuk
            pisaychuk Paul Isaychuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: