Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-11-21 11:13:02 -0500
committerGlyn Normington2011-11-21 11:13:02 -0500
commit6113a34cc2c6a869481832437727d0522f00ab9c (patch)
tree9a5caec2149e71f42130027149dd9016ef4b9742 /org.eclipse.virgo.kernel.deployer.test/src/test/java
parent02c3bd65ed269b6f14812e0fdef22e5c40855654 (diff)
downloadorg.eclipse.virgo.kernel-6113a34cc2c6a869481832437727d0522f00ab9c.tar.gz
org.eclipse.virgo.kernel-6113a34cc2c6a869481832437727d0522f00ab9c.tar.xz
org.eclipse.virgo.kernel-6113a34cc2c6a869481832437727d0522f00ab9c.zip
Hopefully fix heisenbug
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test/java')
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
index 165196b1..073fe7e0 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
@@ -299,6 +299,7 @@ public class FactoryConfigurationDeploymentTests extends AbstractDeployerIntegra
private void writePropertiesFile(final Properties hotDeployConfiguration, File target, String comment) throws IOException, FileNotFoundException {
FileOutputStream stream = new FileOutputStream(target);
hotDeployConfiguration.store(stream, comment);
+ stream.flush();
stream.close();
}

Back to the top