[jdk8u-dev] RFR: 8219804: java/net/MulticastSocket/Promiscuous.java fails intermittently due to NumberFormatException
sendaoYan
duke at openjdk.org
Thu Jul 20 03:02:47 UTC 2023
On Wed, 19 Jul 2023 16:50:51 GMT, Paul Hohensee <phh at openjdk.org> wrote:
> The copyright date update isn't in the original commit, so should be removed. Other than that, looks good. What testing have you done?
mine test command is:
test=jdk/test/java/net/MulticastSocket/Promiscuous.java
nproc=`nproc` ; dir="tmp-jtreg-"`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 1000 | 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"
Before this patch apply, this test intermittently fail:

After this patch apply, this test run 1000 times all pass:

-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/337#issuecomment-1643032403
More information about the jdk8u-dev
mailing list