]> source.dussan.org Git - dcevm.git/commitdiff
Running test in a loop
authorIvan Dubrov <idubrov@guidewire.com>
Wed, 6 Apr 2016 19:05:39 +0000 (12:05 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Wed, 6 Apr 2016 19:05:39 +0000 (12:05 -0700)
dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java

index 209aa6d985801cfd10330e6690f883f74bef6862..cf667d5f006acc3420874036cf6371982f79db17 100644 (file)
@@ -69,10 +69,13 @@ public class StringFieldTest {
   public void testComplexFieldChange() {
     assert __version__() == 0;
     A a = new A();
-    assertObjectOK(a);
-    __toVersion__(1);
-    assertObjectOK(a);
-    __toVersion__(0);
-    assertObjectOK(a);
+
+    for (int i = 0; i < 100; i++) {
+      assertObjectOK(a);
+      __toVersion__(1);
+      assertObjectOK(a);
+      __toVersion__(0);
+      assertObjectOK(a);
+    }
   }
 }