8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout

Reviewed-by: weijun, wetmore
This commit is contained in:
sendaoYan 2022-12-05 07:41:42 +00:00 committed by Yi Yang
parent 61b7093123
commit 82561de722
2 changed files with 4 additions and 4 deletions
test/jdk
java/security/SecureRandom
sun/security/provider/SecureRandom/AbstractDrbg

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
/*
* @test
* @bug 7004967
* @run main/othervm NoSync
* @run main/othervm -Djava.security.egd=file:/dev/urandom NoSync
* @summary SecureRandom should be more explicit about threading
*/
public class NoSync {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -25,7 +25,7 @@
* @bug 8051408 8157308 8130181
* @modules java.base/sun.security.provider
* @build java.base/sun.security.provider.S
* @run main SpecTest
* @run main/othervm -Djava.security.egd=file:/dev/urandom SpecTest
* @summary check the AbstractDrbg API etc
*/