Author: alessio.soldano(a)jboss.com
Date: 2008-08-26 12:35:01 -0400 (Tue, 26 Aug 2008)
New Revision: 8139
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2000/FileTransferServiceImpl.java
Log:
[JBWS-2000] Removing file on exit to prevent filling up the disk when running Hudson...
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2000/FileTransferServiceImpl.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2000/FileTransferServiceImpl.java 2008-08-26
13:44:14 UTC (rev 8138)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2000/FileTransferServiceImpl.java 2008-08-26
16:35:01 UTC (rev 8139)
@@ -30,6 +30,7 @@
fileOutputStream = new FileOutputStream(outputFile);
contents.writeTo(fileOutputStream);
tempFiles.add(outputFile);
+ outputFile.deleteOnExit();
} finally {
if (fileOutputStream != null) {
fileOutputStream.close();
Show replies by date