performance: fix unit tests

This commit is contained in:
Vincent Breitmoser
2016-02-01 17:32:17 +01:00
parent b1ea126142
commit 6a7652c0d7
4 changed files with 51 additions and 23 deletions

View File

@@ -1254,7 +1254,7 @@ public class PgpKeyOperationTest {
modified.getEncoded(), false, 0);
Assert.assertEquals("secret key type should be 'pin' after this",
SecretKeyType.PIN,
secretRing.getSecretKey().getSecretKeyType());
secretRing.getSecretKey().getSecretKeyTypeSuperExpensive());
// need to sleep for a sec, so the timestamp changes for notation data
Thread.sleep(1000);