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

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


On Fri, 23 Apr 2021 14:04:51 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: d48b8df0
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/d48b8df0
Stats:     17 lines in 1 file changed: 12 ins; 0 del; 5 mod

Make TestHandshake more tolerant to spurious failures

Reviewed-by: chegar

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

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


More information about the panama-dev mailing list