Skip to content

Commit

Permalink
chore(dynamodb): fix nonKeyAttributes limit test description (#8096)
Browse files Browse the repository at this point in the history
Relates to #8186, #8095

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
johncrn authored Oct 12, 2020
1 parent f7cfcee commit 733d72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-dynamodb/test/dynamodb.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ test('error when adding a global secondary index with projection type KEYS_ONLY,
})).toThrow(/non-key attributes should not be specified when not using INCLUDE projection type/);
});

test('error when adding a global secondary index with projection type INCLUDE, but with more than 20 non-key attributes', () => {
test('error when adding a global secondary index with projection type INCLUDE, but with more than 100 non-key attributes', () => {
const stack = new Stack();
const table = new Table(stack, CONSTRUCT_NAME, { partitionKey: TABLE_PARTITION_KEY, sortKey: TABLE_SORT_KEY });
const gsiNonKeyAttributeGenerator = NON_KEY_ATTRIBUTE_GENERATOR(GSI_NON_KEY);
Expand Down

0 comments on commit 733d72d

Please sign in to comment.