dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.2k stars 497 forks source link

[TESTBUG][upstream]java/net/MulticastSocket/Promiscuous.java intermittently fail #556

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

test command:

test=jdk/test/java/net/MulticastSocket/Promiscuous.java
nproc=`nproc` ; dir="tmp-jtreg-"`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 5000 | xargs -i -n 1 -P `expr $nproc / 2` bash -c "jtreg -ea -esa -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-{} $test &> $dir/{}.log ; grep 'Test results: passed: 1' -L $dir/{}.log"

dragonwell8:

image

dragonwell11:

image

sendaoYan commented 1 year ago

test result before patch:

image

test result after patch:

image

JDK-8272910.patch.txt

sendaoYan commented 1 year ago

https://github.com/openjdk/jdk8u-dev/pull/337