Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4605

OrderEntryIntegrationTest fails due to timing of discontinued order

    XMLWordPrintable

    Details

    • Complexity:
      S

      Description

      Per conversation with Darius Jazayeri: https://groups.google.com/a/openmrs.org/forum/#!topic/dev/yfsm7YevFPY

      2 OrderServiceImpl discontinueOrder() methods need to be updated to use aMomentBefore(). The OrderEntryIntegrationTest currently fails on fast machines due to timing issues - if an order is discontinued through those methods, it can still be queried as active if the the query is done fast enough.

      The fix is trivial, I can create a PR.

        Attachments

          Activity

            People

            Assignee:
            kristopherschmidt Kristopher Schmidt
            Reporter:
            kristopherschmidt Kristopher Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: