From 6d5bc6ba69310dcbb3b128cae7e7bf18b6982600 Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Wed, 6 Apr 2016 12:05:39 -0700 Subject: [PATCH] Running test in a loop --- .../github/dcevm/test/fields/StringFieldTest.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java b/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java index 209aa6d9..cf667d5f 100644 --- a/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java +++ b/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java @@ -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); + } } } -- 2.39.5