harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2867) [classlib][awt] intermittent failure of java.awt.WindowTest
Date Mon, 28 May 2007 07:52:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499491
] 

Vladimir Ivanov commented on HARMONY-2867:
------------------------------------------

This tests also failed on Linux box:
-----------------------------------------------
  <testcase classname="java.awt.WindowTest" name="testSetLocationRelativeTo" time="0.093">
    <failure message="expected:<java.awt.Point[x=50,y=50]> but was:<java.awt.Point[x=50,y=84]>"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:<java.awt.Point[x=50,y=50]>
but was:<java.awt.Point[x=50,y=84]>
	at java.awt.WindowTest.testSetLocationRelativeTo(WindowTest.java:89)
	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
    </failure>
-----------------------------------------------

I suggest excluding this test for CC/CI runs.

> [classlib][awt] intermittent failure of java.awt.WindowTest
> -----------------------------------------------------------
>
>                 Key: HARMONY-2867
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2867
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: msvc debug drlvm
>            Reporter: tatyana doubtsova
>            Priority: Minor
>         Attachments: awt.exclude.patch
>
>
> java.awt.WindowTest intermittently failes (9 times out of 50 and 8 times out of 50):
> Test: testSetLocationRelativeToClass: java.awt.WindowTestjunit.framework.AssertionFailedError:
expected:<java.awt.Point[x=699,y=525]> but was:<java.awt.Point[x=760,y=542]>
> 	at java.awt.WindowTest.testSetLocationRelativeTo(WindowTest.java:82)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> to reproduce try 
> #!/bin/sh 
> A=0 
> while [ "$A" -lt "50" ]; do 
>       ant -Dtest.jre.home=<path to jre> -Dbuild.module=awt -Dhy.test.vm.name=drl
-Dhy.test.forkmode=once test 
>       A=`expr $A + 1` 
> done 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message