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

Perspective lod tests fail because of minute difference in values

XMLWordPrintable

    • inapplicable
    • generic
    • generic

      Two lod tests fail because of minute fractional difference in expected vs rendered values.

      Failing tests:
      test/scenegraph/fx3d/lod/PerspectiveLodCameraTest.java:
      test/scenegraph/fx3d/lod/PerspectiveLodGroupTest.java:

      Stacktrace:
      ----------System.out:(404/34216)----------
      Loading jemmy properties from /Users/jdv/.jemmy.properties
      Property file /Users/jdv/.jemmy.properties does not exists. Ignoring.
      test test.scenegraph.fx3d.lod.LodTests.boxTranslateGroupLightOffTest(): success
      test test.scenegraph.fx3d.lod.LodTests.coneTranslateCameraLightOffTest(): success
      test test.scenegraph.fx3d.lod.LodTests.cylinderTranslateGroupLightOffTest(): success
      test test.scenegraph.fx3d.lod.LodTests.sphereInitialLightOnTest(): failure
      org.jemmy.TimeoutExpiredException: State 'Expected 50180.140882730484, but was 50180.137157440186' has not been reached in 1000 milliseconds
      at org.jemmy.timing.Waiter.ensureValue(Waiter.java:93)
      at test.scenegraph.fx3d.lod.LodTestBase.checkLod(LodTestBase.java:117)
      at test.scenegraph.fx3d.lod.LodTests.sphereInitialLightOnTest(LodTests.java:98)
      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)


      test test.scenegraph.fx3d.lod.LodTests.sphereTranslateShapeLightOffTest(): success
      test test.scenegraph.fx3d.lod.LodTests.semiSphereTranslateGroupLightOffTest(): failure
      org.jemmy.TimeoutExpiredException: State 'Expected 178710.13283729553, but was 178710.10303497314' has not been reached in 1000 milliseconds
      at org.jemmy.timing.Waiter.ensureValue(Waiter.java:93)
      at test.scenegraph.fx3d.lod.LodTestBase.checkLod(LodTestBase.java:117)
      at test.scenegraph.fx3d.lod.LodTests.semiSphereTranslateGroupLightOffTest(LodTests.java:513)
      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)

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

              Created:
              Updated:
              Resolved: