[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: |
| Comment by Hannes Magnusson [ 07/Dec/15 ] |
|
We also need to actually check if we have permissions to read off the socket. |