[foreign-memaccess+abi] RFR: Make TestHandshake more tolerant to spurious failures

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Apr 23 14:14:49 UTC 2021


Especially on Windows, we seem to have issues when it comes to spurious failures with these tests. This test require completion within 10 seconds, and sometimes on Windows it is possible to see (from logs) that no thread starts before 8.5 seconds (!!). This seems to be a transient issue, most likely caused by some environment factor in our test machines.

I have added some logic to print out which test starts first, and when.

I have also raised the threshold factor 2x.

-------------

Commit messages:
 - Make TestHandshake more tolerant to spurious failures

Changes: https://git.openjdk.java.net/panama-foreign/pull/517/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=517&range=00
  Stats: 13 lines in 1 file changed: 12 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/517.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/517/head:pull/517

PR: https://git.openjdk.java.net/panama-foreign/pull/517


More information about the panama-dev mailing list