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

Replace temporary dir logic in test code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.20.0
    • tests
    • None
    • Unknown

    Description

      I think essobedo gave this idea sometime in the past, but I did not have time to pursuit it back then. 

      Here's the change: there's many places in the test code where we are using temporary directories for the tests. There is code to create, cleanup and whatnot to handle this.

       

      However, there is a TempDir extension that is part of JUnit 5 that we can use instead.

      Attachments

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: