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

Unit test failure and hang in monocle ZoomTest

    XMLWordPrintable

    Details

      Description

      I am getting frequent intermittent failures in the newly added monocle ZoomTest unit tests on my Windows 7 machine. After the failure, the test run hangs and never completes. I have attached a stack dump.


      com.sun.glass.ui.monocle.input.ZoomTest > testZoomIn[0] STANDARD_OUT
          TestTouchDevice: setPoint 0, 640, 160

          TestTouchDevice: setPoint 1, 640, 640

          TestTouchDevice: sync
          Touch pressed: 640, 560
          TouchPoint: PRESSED 640, 240 id=1
          TouchPoint: PRESSED 640, 560 id=2
          Mouse moved: 640, 240
          Mouse pressed: 640, 240
          Touch moved: 640, 160
          TouchPoint: MOVED 640, 160 id=1
          TouchPoint: MOVED 640, 640 id=2
          Touch moved: 640, 640
          TouchPoint: MOVED 640, 160 id=1
          TouchPoint: MOVED 640, 640 id=2
          Mouse dragged: 640, 160

      com.sun.glass.ui.monocle.input.ZoomTest > testZoomIn[0] FAILED
          junit.framework.AssertionFailedError: Timed out after 3000ms waiting for 'Zoom started, factor: 1.0, total factor: 1.0'
              at com.sun.glass.ui.monocle.input.TestLog.waitForLog(TestLog.java:188)
              at com.sun.glass.ui.monocle.input.TestLog.waitForLogContaining(TestLog.java:214)
              at com.sun.glass.ui.monocle.input.TestLog.waitForLogContaining(TestLog.java:224)
              at com.sun.glass.ui.monocle.input.ZoomTest.testZoomIn(ZoomTest.java:188)

      com.sun.glass.ui.monocle.input.ZoomTest > testZoomOut[0] STANDARD_ERROR
          Failed com.sun.glass.ui.monocle.input.ZoomTest.testZoomIn[EGalaxMultiTouchDevice1]

      com.sun.glass.ui.monocle.input.ZoomTest > testZoomOut[0] STANDARD_OUT
          TestTouchDevice: addPoint 2, 640, 80

          TestTouchDevice: addPoint 3, 640, 720

          TestTouchDevice: sync

      At this point the test is hung.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ekleyman Elina Kleyman (Inactive)
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: