Skip to content

Commit

Permalink
reduce max dimensions to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcnance committed Mar 26, 2020
1 parent 4388e0d commit c69f358
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aws_embedded_metrics/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# limitations under the License.

DEFAULT_NAMESPACE = "aws-embedded-metrics"
MAX_DIMENSIONS = 10
MAX_DIMENSIONS = 9
4 changes: 2 additions & 2 deletions tests/serializer/test_log_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ def test_serialize_dimensions():
assert_json_equality(result_json, expected)


def test_cannot_serialize_more_than_10_dimensions():
def test_cannot_serialize_more_than_9_dimensions():
# arrange
dimensions = {}
dimension_pointers = []
allowed_dimensions = 10
allowed_dimensions = 9
dimensions_to_add = 15

for i in range(0, dimensions_to_add):
Expand Down

0 comments on commit c69f358

Please sign in to comment.