Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316807

Exclude 3D subscene perspective camera picking tests

    XMLWordPrintable

Details

    • inapplicable
    • generic
    • generic

    Description

      When we subscene not just ParallelCamera but even Perspective Camera test fail.

      These tests fail because of AssertionFailedError or TimeoutExpiredException:

      test test.scenegraph.fx3d.picking.MeshPickingTests.distanceTest(): failure
      junit.framework.AssertionFailedError: Expected 2200.9616080250016, but was 1007.6537180435971
      at junit.framework.Assert.fail(Assert.java:57)
      at junit.framework.Assert.assertTrue(Assert.java:22)
      at test.scenegraph.fx3d.picking.MeshPickingTests.distanceTest(MeshPickingTests.java:108)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.lang.Thread.run(Thread.java:833)


      Or

      test test.scenegraph.fx3d.picking.PickingTestOverall.fillTest(): failure
      org.jemmy.TimeoutExpiredException: State 'test.scenegraph.fx3d.picking.PickingTestFunctions$1@5c3ed7b3' has not been reached in 1000 milliseconds
      at org.jemmy.timing.Waiter.ensureValue(Waiter.java:93)
      at test.scenegraph.fx3d.picking.PickingTestFunctions.click(PickingTestFunctions.java:53)
      at test.scenegraph.fx3d.picking.PickingTestOverall.fillTest(PickingTestOverall.java:134)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.lang.Thread.run(Thread.java:833)

      Attachments

        Issue Links

          Activity

            People

              jdv Jayathirth D V
              jdv Jayathirth D V
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: