Skip to content

Commit 2496a74

Browse files
committed
fix(test): increase maxBytesPerBatch in large-cache validation test
The 10 MiB test record exceeded the 5 MiB batch limit, causing getRecordsByStream to filter it out. Bumped to 20 MiB to match the cache size.
1 parent 89411f2 commit 2496a74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/kinesis/amplify_kinesis_dart/test/record_validation_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void main() {
7676
database: largeDb,
7777
maxCacheBytes: 20 * 1024 * 1024,
7878
maxRecordsPerBatch: 500,
79-
maxBytesPerBatch: 5 * 1024 * 1024,
79+
maxBytesPerBatch: 20 * 1024 * 1024,
8080
maxRecordSizeBytes: 10 * 1024 * 1024,
8181
);
8282
final largeClient = createClient(storage: largeStorage);

0 commit comments

Comments
 (0)