File tree 1 file changed +5
-0
lines changed
lib/lib-dynamodb/src/test
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ describe(DynamoDBDocument.name, () => {
178
178
179
179
log . read [ id ] = await doc
180
180
. get ( {
181
+ ConsistentRead : true ,
181
182
TableName,
182
183
Key : {
183
184
id,
@@ -272,6 +273,7 @@ describe(DynamoDBDocument.name, () => {
272
273
for ( const [ k ] of Object . entries ( data ) ) {
273
274
log . executeTransactionReadBack [ k ] = await doc
274
275
. get ( {
276
+ ConsistentRead : true ,
275
277
TableName,
276
278
Key : {
277
279
id : k + "-exec-transact" ,
@@ -291,6 +293,7 @@ describe(DynamoDBDocument.name, () => {
291
293
for ( const [ k ] of Object . entries ( data ) ) {
292
294
log . executeStatementReadBack [ k ] = await doc
293
295
. get ( {
296
+ ConsistentRead : true ,
294
297
TableName,
295
298
Key : {
296
299
id : k + "-statement" ,
@@ -347,6 +350,7 @@ describe(DynamoDBDocument.name, () => {
347
350
":data1" : data . list ,
348
351
":data2" : data . map ,
349
352
} ,
353
+ ConsistentRead : true ,
350
354
} )
351
355
. catch ( passError ) ;
352
356
@@ -368,6 +372,7 @@ describe(DynamoDBDocument.name, () => {
368
372
369
373
log . updateReadBack [ id ] = await doc
370
374
. get ( {
375
+ ConsistentRead : true ,
371
376
TableName,
372
377
Key : {
373
378
id,
You can’t perform that action at this time.
0 commit comments