mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Allowing tests writing to the working directory can mask problems. For example, multiple tests running in the same jvm, and using the same relative path, may cause issues if the first test to run leaves data in the directory, and the second test does not remember to cleanup the path before using it. This change adds security manager rules to disallow tests writing to the working directory. Instead, tests create a temp dir with the existing test framework. closes #10605