@@ -37,7 +37,7 @@ test_mongoc_uri_new (void)
37
37
ASSERT_CMPSTR (hosts -> host_and_port , "[::1]:27888" );
38
38
mongoc_uri_destroy (uri );
39
39
40
- uri = mongoc_uri_new ("mongodb:///tmp/mongodb.sock/?" );
40
+ uri = mongoc_uri_new ("mongodb:///tmp/mongodb-27017 .sock/?" );
41
41
ASSERT (uri );
42
42
mongoc_uri_destroy (uri );
43
43
@@ -115,14 +115,14 @@ test_mongoc_uri_new (void)
115
115
ASSERT (!bson_iter_next (& iter ));
116
116
mongoc_uri_destroy (uri );
117
117
118
- uri = mongoc_uri_new ("mongodb:///tmp/mongodb.sock/?ssl=false" );
118
+ uri = mongoc_uri_new ("mongodb:///tmp/mongodb-27017 .sock/?ssl=false" );
119
119
ASSERT (uri );
120
- ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> host , "/tmp/mongodb.sock" );
120
+ ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> host , "/tmp/mongodb-27017 .sock" );
121
121
mongoc_uri_destroy (uri );
122
122
123
- uri = mongoc_uri_new ("mongodb:///tmp/mongodb.sock,localhost:27017/?ssl=false" );
123
+ uri = mongoc_uri_new ("mongodb:///tmp/mongodb-27017 .sock,localhost:27017/?ssl=false" );
124
124
ASSERT (uri );
125
- ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> host , "/tmp/mongodb.sock" );
125
+ ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> host , "/tmp/mongodb-27017 .sock" );
126
126
ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> next -> host_and_port , "localhost:27017" );
127
127
ASSERT (!mongoc_uri_get_hosts (uri )-> next -> next );
128
128
mongoc_uri_destroy (uri );
@@ -134,10 +134,10 @@ test_mongoc_uri_new (void)
134
134
ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> next -> host_and_port , "host2:30000" );
135
135
mongoc_uri_destroy (uri );
136
136
137
- uri = mongoc_uri_new ("mongodb://localhost:27017,/tmp/mongodb.sock/?ssl=false" );
137
+ uri = mongoc_uri_new ("mongodb://localhost:27017,/tmp/mongodb-27017 .sock/?ssl=false" );
138
138
ASSERT (uri );
139
139
ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> host_and_port , "localhost:27017" );
140
- ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> next -> host , "/tmp/mongodb.sock" );
140
+ ASSERT_CMPSTR (mongoc_uri_get_hosts (uri )-> next -> host , "/tmp/mongodb-27017 .sock" );
141
141
ASSERT (!mongoc_uri_get_hosts (uri )-> next -> next );
142
142
mongoc_uri_destroy (uri );
143
143
0 commit comments