svn commit: r465245 - /db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java

[email protected]
Newsgroups gmane.comp.jakarta.ojb.devel
Message-ID <[email protected]>
Author: arminw
Date: Wed Oct 18 06:29:46 2006
New Revision: 465245

URL: http://svn.apache.org/viewvc?view=rev&rev=465245
Log:
fix test

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java

Modified: db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java?view=diff&rev=465245&r1=465244&r2=465245
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java Wed Oct 18 06:29:46 2006
@@ -109,7 +109,7 @@
         ODMGGourmet paula = new ODMGGourmet("a_testMtoNSeparate_I");
         ODMGGourmet candy = new ODMGGourmet("b_testMtoNSeparate_I");
 
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "separate1_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
 
@@ -139,7 +139,7 @@
         ODMGGourmet james = new ODMGGourmet("a_testMtoNSeparate_II");
         ODMGGourmet doris = new ODMGGourmet("b_testMtoNSeparate_II");
 
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "separate2_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
 
@@ -210,7 +210,7 @@
      */
     public void testMtoNPolymorphUpdate() throws Exception
     {
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "Update_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
         Fish goldfish = new Fish("goldfish_" + timestamp, 10, "brackish water");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.