tests: fix non-deterministic testMasterModify

This commit is contained in:
Vincent Breitmoser 2014-08-23 12:13:28 +02:00
parent 79c4d3ea49
commit 9f9c31868d

View File

@ -500,6 +500,7 @@ public class PgpKeyOperationTest {
modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB); modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB);
{ {
parcel.reset();
parcel.mChangeSubKeys.add(new SubkeyChange(keyId, null, expiry)); parcel.mChangeSubKeys.add(new SubkeyChange(keyId, null, expiry));
modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB); modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB);