[CDRIVER-1037] Skip Unix domain socket test if sock file absent Created: 07/Dec/15  Updated: 10/Aug/16  Resolved: 26/Feb/16

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

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


 Description   

Instead of just skipping the test if WIN32 is defined, we should check if /tmp/mongod.sock is absent and skip the test then. This allows a wider range of tests, e.g. testing on Sparc with a remote mongod.



 Comments   
Comment by Githook User [ 26/Feb/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1037 maybe skip unix domain socket tests
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/277bf20dab502e3aa2c5b9e8afb2fd0b061f6bb1

Comment by Hannes Magnusson [ 07/Dec/15 ]

We also need to actually check if we have permissions to read off the socket.
I've noticed once or twice locally that I didn't

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