fix small non-deterministic failure case in unit test
This commit is contained in:
@@ -1012,7 +1012,7 @@ public class PgpKeyOperationTest {
|
|||||||
parcel.reset();
|
parcel.reset();
|
||||||
|
|
||||||
Random r = new Random();
|
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)];
|
byte[] data = new byte[r.nextInt(2000)];
|
||||||
new Random().nextBytes(data);
|
new Random().nextBytes(data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user