[CDRIVER-1024] bypassDocumentValidation test fails on Solaris Created: 24/Nov/15  Updated: 08/Dec/15  Resolved: 01/Dec/15

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.3.0-beta0
Fix Version/s: 1.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-21659 bypassDocumentValidation authenticati... Closed

 Description   

/WriteCommand/bypass_validation fails on Solaris against a standalone or replica set with:

  not authorized on dbtest_1448377510_683 to execute command { insert: "bypass_1448377510_683", writeConcern: {}, ordered: true, bypassDocumentValidation: true, documents: 3 }

It passes on other platforms, and against a mongos on Solaris.



 Comments   
Comment by Githook User [ 01/Dec/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1024: bypassDocumentValidation test fails

This issue has been fixed in currently nightlies (and RC5)

Revert "skip bypassValidation test with auth"

This reverts commit 94915175b364418284880952cfe0926344997334.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3473d5256db7fe23c11ceaa812378411f4a0314f

Comment by Hannes Magnusson [ 24/Nov/15 ]

If you keep the shell open and run the test case, it works.

I have absolutely no idea why. I've created fairly standalone repro and filed SERVER-21659

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