-
Task
-
Resolution: Done
-
Major
-
3.1.0.Final
-
None
-
None
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).