Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1568

ReadDataSourceTwiceCountTempFileTest intermittent failures

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.1.1.Final, 3.0.21.Final
    • 3.1.0.Final
    • None
    • None

    Description

      DataSourceProvider allows to read dataSource through helper method readDataSource() which is public. Using this helper method (which normally shouldn't be used) causes that tmp file is not deleted until jvm shutdown.

      The tests ReadFromSocketDataSourceProviderTest#testReadFromSocketDataSourceProvider and DataSourceProviderInputStreamTest are using Datasource.readDataSource() directly, leaving tmp files behind during tests run causing ReadDataSourceTwiceCountTempFileTest to fail randomly (depends on execution order of the tests).

      Attachments

        Activity

          People

            kanovotn Katerina Odabasi (Inactive)
            kanovotn Katerina Odabasi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: