Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't overwrite integration tests longs if container restarted (apach…
…e#3080) In the arquillian tests, processes were restarted using supervisorctl, which preserved the contents of the filesystem. This was changed in the testcontainers change to restart the whole container, which obliterates the filesystem. When a container is stopped, the logs are copied to the target directory. In the case of multiple restarts the logs from the later restarts were overwriting the logs from earlier restarts so the older logs were lost. This PR adds a check to ensure that we don't overwrite old logs and appends a number to the log if a old log exists.
- Loading branch information