[CDRIVER-159] test_validate fails intermittently with Jenkins Created: 28/Jul/12  Updated: 19/Oct/16  Resolved: 28/Jul/12

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.6
Fix Version/s: 0.7

Type: Bug Priority: Major - P3
Reporter: Gary Murakami Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Failed ASSERT [test/validate_test.c] (46):
conn->err == MONGO_BSON_NOT_FINISHED



 Comments   
Comment by auto [ 28/Jul/12 ]

Author:

{u'date': u'2012-07-27T23:03:28-07:00', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-159 - test_validate fails intermittently with Jenkins
mongo_bson_valid should check for bson->finished BEFORE bson_size( bson ) > conn->max_bson_size
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9cb0193daf995be3a8f9f885a643c106aa522412

Comment by Gary Murakami [ 28/Jul/12 ]

conn->err(15) != MONGO_BSON_NOT_FINISHED

15 == MONGO_BSON_TOO_LARGE
mongo_bson_valid should check for bson->finished BEFORE bson_size( bson ) > conn->max_bson_size

Comment by auto [ 28/Jul/12 ]

Author:

{u'date': u'2012-07-27T22:12:50-07:00', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-159 - test_validate fails intermittently with Jenkins
temporarily for now, comment out assertion and print a visible diagnostic instead
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/787146c16a3d1ee1bf2ce458facc20f1d500f4e6

Generated at Wed Feb 07 21:08:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.