Skip to content

Commit

Permalink
fix: updated test to reflect the updated batch limit
Browse files Browse the repository at this point in the history
  • Loading branch information
arnab-p committed Sep 24, 2024
1 parent 9d4623f commit 412747c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rudderstack/analytics/test/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_max_batch_size(self):
}
msg_size = len(json.dumps(track).encode())
# number of messages in a maximum-size batch
n_msgs = int(475000 / msg_size)
n_msgs = int((4 << 10 << 10) / msg_size)

def mock_post_fn(_, data, **kwargs):
res = mock.Mock()
Expand Down

0 comments on commit 412747c

Please sign in to comment.