Skip to content

Commit 4b710a5

Browse files
auto commit
1 parent 2f0c00f commit 4b710a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

TestVectors/dafny/DDBEncryption/src/TestVectors.dfy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,13 +882,14 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
882882
var unConfiguredTable := "unConfiguredTable";
883883
var _, _ := SetupTestTable(writeConfig, readConfig, createTableInput := MakeCreateTableInput(tableName := unConfiguredTable));
884884
var insertStatementForUnconfiguredTable := "INSERT INTO \"" + unConfiguredTable + "\" VALUE {'" + HashName + "': 0, 'attribute1': 'a'}";
885+
var limit : DDB.PositiveIntegerObject := 5;
885886
var inputInsertStatementForUnconfiguredTable := DDB.ExecuteStatementInput(
886887
Statement := insertStatementForUnconfiguredTable,
887888
Parameters := None,
888889
ConsistentRead := None,
889890
NextToken := None,
890891
ReturnConsumedCapacity := None,
891-
Limit := 5,
892+
Limit := Some(limit),
892893
ReturnValuesOnConditionCheckFailure := None
893894
);
894895
var insertResultUnconfiguredTable := wClient.ExecuteStatement(inputInsertStatementForUnconfiguredTable);
@@ -901,7 +902,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
901902
ConsistentRead := None,
902903
NextToken := None,
903904
ReturnConsumedCapacity := None,
904-
Limit := 5,
905+
Limit := Some(limit),
905906
ReturnValuesOnConditionCheckFailure := None
906907
);
907908
var selectResultUnconfiguredTable := rClient.ExecuteStatement(inputSelectStatementForUnconfiguredTable);

0 commit comments

Comments
 (0)