On Fri, 28 Feb 2025 12:50:15 GMT, Volkan Yazici <vyaz...@openjdk.org> wrote:

> Fixes deletion of non-existent (i.e., already-deleted) files in 
> `SocketChannelConnectionSetup`. Confirmed the fix using
> 
> 
> make build-microbenchmark
> build/linux-x64/jdk/bin/java \
>   -jar build/linux-x64/images/test/micro/benchmarks.jar \
>   -f 1 -wi 1 -i 1 -t 2 SocketChannelConnectionSetup
> 
> 
> Note the `-t 2` in the JMH arguments – this was triggering the reported 
> `NoSuchFileException`.
> 
> `make test TEST=micro:SocketChannelConnectionSetup` is passing as expected 
> too.

It seems to be the temp directory that is failing rather than the socket files 
themselves. That makes me think something else is deleting stuff from /tmp when 
this is happening. But the proposed change is reasonable for making the test 
more robust anyway

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

Marked as reviewed by michaelm (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23843#pullrequestreview-2651115527

Reply via email to