Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7904104

intermittent test failure in TimeoutDefaultSecondsWaiter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      TimeoutDefaultSecondsWaiter asserts 'Timeout signalled after X seconds', but the timeout handler can run `victim.interrupt()`.
      that can produce the following output `result: Error. Program `/usr/lib/jvm/java-21-openjdk-amd64/bin/javac' interrupted`[1].

      We may either remove interrupt() call altogether or replace it with process.waitFor(timeout)

      [1] https://github.com/openjdk/jtreg/blob/34ccc66ec89651637811678a17d3f810b4ac0780/src/share/classes/com/sun/javatest/regtest/exec/ProcessCommand.java#L289

            Unassigned Unassigned
            vpetko Vladimir Petko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: