If parameterized tests fail then OpenShiftRecorderService throws java.nio.file.FileAlreadyExistsException when overriding files from build namespace #501
In case a test fails OpenShiftRecorderService saves all files related to test (including from build namespace) to "resources" directory. Problem is with parametrized tests (annotated by @ParameterizedTest) as all of them are sharing the same directory and thus trying to override the same files.
In case a test fails
OpenShiftRecorderService
saves all files related to test (including from build namespace) to "resources" directory. Problem is with parametrized tests (annotated by@ParameterizedTest
) as all of them are sharing the same directory and thus trying to override the same files.For example following directories are created:
It seems that test name is missing in the name of directory (test case name and parametrization is the name of directory).