Skip to content

Commit 0394f43

Browse files
committed
refer to spec for prose test 11 values
1 parent 60ca972 commit 0394f43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libmongoc/tests/test-mongoc-crud.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ prose_test_11_fixture_new (void)
958958
tf->maxMessageSizeBytes = sl.maxMessageSizeBytes;
959959
tf->maxBsonObjectSize = sl.maxBsonObjectSize;
960960

961+
// See CRUD prose test 12 description for the calculation of these values.
961962
const int32_t opsBytes = tf->maxMessageSizeBytes - 1122;
962963
tf->numModels = opsBytes / tf->maxBsonObjectSize;
963964
const int32_t remainderBytes = opsBytes % tf->maxBsonObjectSize;

0 commit comments

Comments
 (0)