Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2520

(maint) Remove some potential ordering issues from tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.2.5
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2016-03-09, PuppetDB 2016-03-23

      Description

      With the inclusion of the recent backgrounded 'analyze' it introduced some
      flakiness to our tests due to ordering issues. This patch fixes two cases
      where we are doing a limit without an order-by, and converts resource_events
      for reports tests to a set so comparison always works.

      Signed-off-by: Ken Barber <ken@bob.sh>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gepetto-bot gepetto-bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support