diff --git a/test/node/bson_corpus_tests.js b/test/node/bson_corpus_tests.js index 6120bf5d..1c97426f 100644 --- a/test/node/bson_corpus_tests.js +++ b/test/node/bson_corpus_tests.js @@ -58,6 +58,8 @@ const skipBSON = { const skipExtendedJSON = { 'Timestamp with high-order bit set on both seconds and increment': + 'Current BSON implementation of timestamp/long cannot hold these values - 1 too large.', + 'Timestamp with high-order bit set on both seconds and increment (not UINT32_MAX)': 'Current BSON implementation of timestamp/long cannot hold these values - 1 too large.' }; diff --git a/test/node/specs/bson-corpus/timestamp.json b/test/node/specs/bson-corpus/timestamp.json index c76bc299..6f46564a 100644 --- a/test/node/specs/bson-corpus/timestamp.json +++ b/test/node/specs/bson-corpus/timestamp.json @@ -18,6 +18,11 @@ "description": "Timestamp with high-order bit set on both seconds and increment", "canonical_bson": "10000000116100FFFFFFFFFFFFFFFF00", "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 4294967295, \"i\" : 4294967295} } }" + }, + { + "description": "Timestamp with high-order bit set on both seconds and increment (not UINT32_MAX)", + "canonical_bson": "1000000011610000286BEE00286BEE00", + "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 4000000000, \"i\" : 4000000000} } }" } ], "decodeErrors": [