diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-05-31 05:41:18 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-05-31 05:41:18 +0200 |
commit | 204893a0250c6f18a9d132e14ea1707d1b1a5124 (patch) | |
tree | 42ef733543fe638ec1d38fd2f0a4e1e603b6069e /OpenKeychain-Test/src/test/java | |
parent | 1bc14ab6ae987b67f2ee5923e5d3469fcebc8c0a (diff) | |
download | open-keychain-204893a0250c6f18a9d132e14ea1707d1b1a5124.tar.gz open-keychain-204893a0250c6f18a9d132e14ea1707d1b1a5124.tar.bz2 open-keychain-204893a0250c6f18a9d132e14ea1707d1b1a5124.zip |
fix small non-deterministic failure case in unit test
Diffstat (limited to 'OpenKeychain-Test/src/test/java')
-rw-r--r-- | OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java index 312875229..e74b84dfb 100644 --- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java +++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java @@ -1012,7 +1012,7 @@ public class PgpKeyOperationTest { parcel.reset(); Random r = new Random(); - int type = r.nextInt(110)+1; + int type = r.nextInt(110)+2; // any type except image attribute, to avoid interpretation of these byte[] data = new byte[r.nextInt(2000)]; new Random().nextBytes(data); |