Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11446

Look at using awaitility in camel-core tests when we wait via thread sleep etc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-core, tests
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We can speedup some of the tests in camel-core by using
      https://github.com/awaitility/awaitility

      To wait for the condition before continuing.

      We can also use NotifyBuilder which we do in some tests like, when there is only 1 message to wait for
      oneExchangeDone.matchesMockWaitTime();

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: