Reputation: 66
I have multiple services using embedded kafka in tests, the tests run daily on github actions and I see the following error on logs at the very end:
java.nio.file.NoSuchFileException: /tmp/kafka-6764136546196724898/controller_0/__cluster_metadata-0/00000000000000000436.snapshot
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) ~[na:na]
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[na:na]
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[na:na]
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:224) ~[na:na]
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:309) ~[na:na]
The following is the relevant snippet in application-test.yaml in all services:
de:
flapdoodle:
mongodb:
embedded:
version: 8.0.0
All the jobs are run at the same time and they fail. I tried running them in non overlapping times and they all passed. I haven't been able to find what the issue was.
How can I avoid running the jobs at different times and disable whatever logs these tests are trying to write?
Upvotes: 0
Views: 23