diff options
author | Jesse Wilson <jessewilson@google.com> | 2011-02-23 18:45:29 -0800 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2011-02-24 08:42:52 -0800 |
commit | 8bc378b1cec65bc06766a14a9cc575fec931b418 (patch) | |
tree | df8f98ce0ffadc67857b0e27093265392a30c780 /expectations | |
parent | 9ebb5807fa40f3bddf3567906a2c77ee053174bb (diff) | |
download | libcore-8bc378b1cec65bc06766a14a9cc575fec931b418.zip libcore-8bc378b1cec65bc06766a14a9cc575fec931b418.tar.gz libcore-8bc378b1cec65bc06766a14a9cc575fec931b418.tar.bz2 |
Don't generate large DH keys when small ones will do.
This dramatically improves the runtime of these tests from a few
minutes to a few seconds.
Also update known failures to cover the new reasons why these
tests are failing.
Change-Id: I82b738f3f1fb24a08d334fa960153692a0c9144f
http://b/3474446
Diffstat (limited to 'expectations')
-rw-r--r-- | expectations/knownfailures.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/expectations/knownfailures.txt b/expectations/knownfailures.txt index b60eaea..5b5f57e 100644 --- a/expectations/knownfailures.txt +++ b/expectations/knownfailures.txt @@ -3,19 +3,21 @@ */ [ { + description: "Encoded bytes don't match for EC elliptic curve keys created through KeyFactory.generatePrivate()", + names: [ + "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_generatePrivateLjava_security_spec_KeySpec", + "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_getKeySpecLjava_security_KeyLjava_lang_Class" + ], + bug: 3483365 +}, +{ description: "Test fails, Intermediate certificate lacks BasicConstraints", name: "com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpiTest#testTrustAndRemoteCertificatesWithDifferentEncodings", bug: 3474648 }, { - description: "java.math.NativeBN.BN_generate_prime_ex takes far too long, causes tests to time out", - names: [ - "org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPrivateKeyTest#test_getParams", - "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_generatePrivateLjava_security_spec_KeySpec", - "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_generatePublicLjava_security_spec_KeySpec", - "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_getKeySpecLjava_security_KeyLjava_lang_Class", - "org.apache.harmony.security.tests.java.security.KeyFactory2Test#test_translateKeyLjava_security_Key" - ], + description: "DHParametersHelper.generateSafePrimes sometimes takes long time, other times takes a very long time", + name: "org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPrivateKeyTest#test_getParams", bug: 3474446 }, { |