intermittent test failure in TimeoutDefaultSecondsWaiter

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated: