Use a randomly generated temp file name so that our simultaneous parallel

builds don't stomp on one another.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2040 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-01-30 18:52:18 +00:00
parent 582e6f1c89
commit b47a1ec510
@@ -61,7 +61,7 @@ public class HashIntMapTest extends TestCase
populateTable(table); populateTable(table);
try { try {
File tmpfile = new File("/tmp/himt.dat"); File tmpfile = File.createTempFile("himt", "dat");
FileOutputStream fout = new FileOutputStream(tmpfile); FileOutputStream fout = new FileOutputStream(tmpfile);
ObjectOutputStream out = new ObjectOutputStream(fout); ObjectOutputStream out = new ObjectOutputStream(fout);