diff --git a/test/packet/compression_test.dart b/test/packet/compression_test.dart index 3940b67a..40ce311d 100644 --- a/test/packet/compression_test.dart +++ b/test/packet/compression_test.dart @@ -8,7 +8,7 @@ import 'package:test/test.dart'; void main() { group('Compression', () { final literalData = - LiteralDataPacket.fromText(faker.randomGenerator.string(1000)); + LiteralDataPacket.fromText(faker.randomGenerator.string(10000)); test('zip test', () { final compressedPacket = CompressedDataPacket.fromPacketList( diff --git a/test/packet/encryption_test.dart b/test/packet/encryption_test.dart index 7b934891..8a590ad7 100644 --- a/test/packet/encryption_test.dart +++ b/test/packet/encryption_test.dart @@ -20,7 +20,7 @@ import '../data/key_data.dart'; void main() { group('symmetrically', () { final literalData = - LiteralDataPacket.fromText(faker.randomGenerator.string(1000)); + LiteralDataPacket.fromText(faker.randomGenerator.string(10000)); final packets = PacketList([literalData]); final key = Helper.generateEncryptionKey(); // encryption key final kek = faker.randomGenerator.string(10); // key encryption key @@ -285,7 +285,7 @@ void main() { test('test encrypt', () async { final literalData = - LiteralDataPacket.fromText(faker.randomGenerator.string(1000)); + LiteralDataPacket.fromText(faker.randomGenerator.string(10000)); final packets = PacketList([literalData]); final key = Helper.generateEncryptionKey(SymmetricAlgorithm.aes256);