/hg/release/icedtea-web-1.4: Fix DeadLockTest reproducers
jkang at icedtea.classpath.org
jkang at icedtea.classpath.org
Tue Mar 3 14:47:01 UTC 2015
changeset 050347a87858 in /hg/release/icedtea-web-1.4
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.4?cmd=changeset;node=050347a87858
author: Jie Kang <jkang at redhat.com>
date: Tue Mar 03 09:46:35 2015 -0500
Fix DeadLockTest reproducers
2015-03-03 Jie Kang <jkang at redhat.com>
Fix DeadLockTest reproducers
* tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
(testSimpletest1lunchFork), (testSimpletest1lunchNoFork) removed division
by two in final assert
diffstat:
ChangeLog | 7 +++++++
tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r d27ef8e16953 -r 050347a87858 ChangeLog
--- a/ChangeLog Thu Oct 23 12:22:42 2014 +0200
+++ b/ChangeLog Tue Mar 03 09:46:35 2015 -0500
@@ -1,3 +1,10 @@
+2015-03-03 Jie Kang <jkang at redhat.com>
+
+ Fix DeadLockTest reproducers
+ * tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
+ (testSimpletest1lunchFork), (testSimpletest1lunchNoFork) removed division
+ by two in final assert
+
2014-10-21 Jiri Vanek <jvanek at redhat.com>
Unittests coverage adapted to latest jacoco
diff -r d27ef8e16953 -r 050347a87858 tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java
--- a/tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java Thu Oct 23 12:22:42 2014 +0200
+++ b/tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java Tue Mar 03 09:46:35 2015 -0500
@@ -120,7 +120,7 @@
ServerAccess.logOutputReprint("java66: " + afterKill.size());
Assert.assertEquals("assert that just old javas remians", 0, (before.size() - afterKill.size()));
// div by two is caused by jav in java process hierarchy
- Assert.assertEquals("launched JVMs must be exactly 2, was " + (during.size() - before.size()) / 2, 2, (during.size() - before.size()) / 2);
+ Assert.assertEquals("launched JVMs must be exactly 2, was " + (during.size() - before.size()), 2, (during.size() - before.size()));
}
@Test
@@ -142,7 +142,7 @@
ServerAccess.logOutputReprint("java99: " + afterKill.size());
Assert.assertEquals("assert that just old javas remians", 0, (before.size() - afterKill.size()));
// div by two is caused by jav in java process hierarchy
- Assert.assertEquals("launched JVMs must be exactly 1, was " + (during.size() - before.size()) / 2, 1, (during.size() - before.size()) / 2);
+ Assert.assertEquals("launched JVMs must be exactly 1, was " + (during.size() - before.size()), 1, (during.size() - before.size()));
}
/**
More information about the distro-pkg-dev
mailing list