You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Ke Wu (Jira)" <ji...@apache.org> on 2020/03/16 20:51:00 UTC

[jira] [Created] (SAMZA-2486) TestFileReaderSystemAdmin & TestFileReaderSystemConsumer are modifying the same test files

Ke Wu created SAMZA-2486:
----------------------------

             Summary: TestFileReaderSystemAdmin & TestFileReaderSystemConsumer are modifying the same test files
                 Key: SAMZA-2486
                 URL: https://issues.apache.org/jira/browse/SAMZA-2486
             Project: Samza
          Issue Type: Bug
            Reporter: Ke Wu


TestFileReaderSystemConsumer & TestFileReaderSystemAdmin are both creating and deleting the same set of resource files, which sometimes result in tests failures when running in parallel:

 
{code:java}
Caused by: java.io.FileNotFoundException: noEnter.txt (No such file or directory)
    	at java.io.RandomAccessFile.open0(Native Method)
    	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
    	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
    	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124)
    	at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:113)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	... 2 more{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)