Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4675

Tests don't pass on JDK20: Thread.suspend is no more supported

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • tests
    • None

    Description

      This test doesn't pass on JDK20 

      [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 86.683 s <<< FAILURE! - in org.apache.zookeeper.test.ReadOnlyModeTest [ERROR] testSeekForRwServer Time elapsed: 3.323 s <<< ERROR! java.lang.UnsupportedOperationException at java.base/java.lang.Thread.suspend(Thread.java:1865) at org.apache.zookeeper.test.ReadOnlyModeTest.testSeekForRwServer(ReadOnlyModeTest.java:303)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: