Intermittent test failure
Mike Duigou
mike.duigou at oracle.com
Fri Mar 22 08:55:11 PDT 2013
I had thought these might be related to 8008167/8008785 but neither is integrated into lambda yet.
Mike
On Mar 22 2013, at 06:55 , Paul Sandoz wrote:
> I just observed three failures for java.util.IdentityHashMap when adding an entry while traversing key/value/entry collections.
>
> Paul.
>
> On Mar 16, 2013, at 1:51 AM, Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
>
>> The following lambda test is failing intermittently:
>>
>> tests/org/openjdk/tests/java/util/stream/SpliteratorLateBindingFailTestTest.java
>>
>> I've attached the .jtr file from when it failed. There's a fair amount of tracing info switched on because I've been working on jtreg, but the interesting lines are:
>>
>>
>> test public void org.openjdk.tests.java.util.stream.SpliteratorLateBindingFailTestTest.testFailFastTestWithTryAdvance(java.lang.String,java.util.function.Supplier): failure
>> java.lang.AssertionError: No Exception was thrown, expected an Exception of java.util.ConcurrentModificationException to be thrown expected object to not be null
>> at org.testng.Assert.fail(Assert.java:89)
>> at org.testng.Assert.assertNotNull(Assert.java:399)
>> at org.openjdk.tests.java.util.stream.SpliteratorLateBindingFailTestTest.executeAndCatch(SpliteratorLateBindingFailTestTest.java:340)
>> at org.openjdk.tests.java.util.stream.SpliteratorLateBindingFailTestTest.executeAndCatch(SpliteratorLateBindingFailTestTest.java:328)
>> at org.openjdk.tests.java.util.stream.SpliteratorLateBindingFailTestTest.testFailFastTestWithTryAdvance(SpliteratorLateBindingFailTestTest.java:275)
>> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:487)
>> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>>
>> As a minor point, it would also help if there was more grammatical assistance to parser the text of the AssertionError message :-)
>>
>> -- Jon
>> <SpliteratorLateBindingFailTestTest.jtr>
>
>
More information about the lambda-dev
mailing list