Skip to content
Snippets Groups Projects
Commit 91335909 authored by Christian Wulf's avatar Christian Wulf
Browse files

trial fix for Permission denied in Jenkins

parent 70545a06
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,8 @@ public class AbstractMonitoringDataExporterTest { ...@@ -65,7 +65,8 @@ public class AbstractMonitoringDataExporterTest {
@Test @Test
public void toFileWithPathTest() { public void toFileWithPathTest() {
try { try {
String file = System.getProperty("java.io.tmpdir") + "abstractmonitoringdataextractiontest.tmp"; // String file = System.getProperty("java.io.tmpdir") + "abstractmonitoringdataextractiontest.tmp";
String file = File.createTempFile("abstractmonitoringdataextractiontest", ".tmp").toString();
AbstractMonitoringDataExporter extractor = new TestExtractionImpl(); AbstractMonitoringDataExporter extractor = new TestExtractionImpl();
extractor.extractToFile(file); extractor.extractToFile(file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment