Skip to content

Commit

Permalink
fixed bug of KAMI-2 removing the leftover serial files after test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Yan committed Nov 1, 2011
1 parent 0ef4ddf commit 6718f1c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/test/java/com/kamikaze/test/PForDeltaKamikazeTest.java
Expand Up @@ -442,6 +442,12 @@ public void testPForDeltaDocSetSerialization() throws Exception{
e.printStackTrace();
fail(e.getMessage());
}

File in = new File(serial);
if(in.exists())
{
in.delete();
}
System.out.println("-----------------completed--------------------------");

}
Expand Down Expand Up @@ -611,6 +617,17 @@ public void testPForDeltaDocSetSerializationAndFind() throws Exception{
e.printStackTrace();
fail(e.getMessage());
}

File in = new File(serial);
if(in.exists())
{
in.delete();
}
File in2 = new File(serial2);
if(in2.exists())
{
in2.delete();
}
System.out.println("-----------------completed--------------------------");
}

Expand Down

0 comments on commit 6718f1c

Please sign in to comment.