mirror of https://github.com/apache/jmeter.git
Ensure directories are writable when generating reports from read-only sources
This commit is contained in:
parent
8268c1c499
commit
939ae3c046
|
@ -93,6 +93,9 @@ public class TemplateVisitor extends SimpleFileVisitor<Path> {
|
|||
"{}, found non empty folder with following content {}, will be ignored",
|
||||
file, newDir, ex.getMessage(), newDir.toFile().listFiles());
|
||||
}
|
||||
if (!newDir.toFile().canWrite()) {
|
||||
newDir.toFile().setWritable(true);
|
||||
}
|
||||
return FileVisitResult.CONTINUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ Summary
|
|||
<li><pr>6274</pr> Change references to old MySQL driver to new class <code>com.mysql.cj.jdbc.Driver</code></li>
|
||||
<li><issue>6352</issue> Calculate delays in Open Model Thread Group and Precise Throughput
|
||||
Timer relative to start of Thread Group instead of the start of the test.</li>
|
||||
<li><issue>6357</issue> Ensure writable directories when copying template files while report generation.</li>
|
||||
</ul>
|
||||
|
||||
<!-- =================== Thanks =================== -->
|
||||
|
|
Loading…
Reference in New Issue