...
1tests:
2 -
3 description: "Unix domain socket (relative path with trailing slash)"
4 uri: "mongodb://rel%2Fmongodb-27017.sock/"
5 valid: true
6 warning: false
7 hosts:
8 -
9 type: "unix"
10 host: "rel/mongodb-27017.sock"
11 port: ~
12 auth: ~
13 options: ~
14 -
15 description: "Unix domain socket (relative path without trailing slash)"
16 uri: "mongodb://rel%2Fmongodb-27017.sock"
17 valid: true
18 warning: false
19 hosts:
20 -
21 type: "unix"
22 host: "rel/mongodb-27017.sock"
23 port: ~
24 auth: ~
25 options: ~
26 -
27 description: "Unix domain socket (relative path with spaces)"
28 uri: "mongodb://rel%2F %2Fmongodb-27017.sock"
29 valid: true
30 warning: false
31 hosts:
32 -
33 type: "unix"
34 host: "rel/ /mongodb-27017.sock"
35 port: ~
36 auth: ~
37 options: ~
38 -
39 description: "Multiple Unix domain sockets (relative paths)"
40 uri: "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock"
41 valid: true
42 warning: false
43 hosts:
44 -
45 type: "unix"
46 host: "rel/mongodb-27017.sock"
47 port: ~
48 -
49 type: "unix"
50 host: "rel/mongodb-27018.sock"
51 port: ~
52 auth: ~
53 options: ~
54 -
55 description: "Multiple Unix domain sockets (relative and absolute paths)"
56 uri: "mongodb://rel%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock"
57 valid: true
58 warning: false
59 hosts:
60 -
61 type: "unix"
62 host: "rel/mongodb-27017.sock"
63 port: ~
64 -
65 type: "unix"
66 host: "/tmp/mongodb-27018.sock"
67 port: ~
68 auth: ~
69 options: ~
70 -
71 description: "Multiple hosts (relative path and ipv4)"
72 uri: "mongodb://127.0.0.1:27017,rel%2Fmongodb-27017.sock"
73 valid: true
74 warning: false
75 hosts:
76 -
77 type: "ipv4"
78 host: "127.0.0.1"
79 port: 27017
80 -
81 type: "unix"
82 host: "rel/mongodb-27017.sock"
83 port: ~
84 auth: ~
85 options: ~
86 -
87 description: "Multiple hosts (relative path and hostname resembling relative path)"
88 uri: "mongodb://mongodb-27017.sock,rel%2Fmongodb-27018.sock"
89 valid: true
90 warning: false
91 hosts:
92 -
93 type: "hostname"
94 host: "mongodb-27017.sock"
95 port: ~
96 -
97 type: "unix"
98 host: "rel/mongodb-27018.sock"
99 port: ~
100 auth: ~
101 options: ~
102 -
103 description: "Unix domain socket with auth database (relative path)"
104 uri: "mongodb://alice:foo@rel%2Fmongodb-27017.sock/admin"
105 valid: true
106 warning: false
107 hosts:
108 -
109 type: "unix"
110 host: "rel/mongodb-27017.sock"
111 port: ~
112 auth:
113 username: "alice"
114 password: "foo"
115 db: "admin"
116 options: ~
117 -
118 description: "Unix domain socket with path resembling socket file (relative path with trailing slash)"
119 uri: "mongodb://rel%2Fpath.to.sock%2Fmongodb-27017.sock/"
120 valid: true
121 warning: false
122 hosts:
123 -
124 type: "unix"
125 host: "rel/path.to.sock/mongodb-27017.sock"
126 port: ~
127 auth: ~
128 options: ~
129 -
130 description: "Unix domain socket with path resembling socket file (relative path without trailing slash)"
131 uri: "mongodb://rel%2Fpath.to.sock%2Fmongodb-27017.sock"
132 valid: true
133 warning: false
134 hosts:
135 -
136 type: "unix"
137 host: "rel/path.to.sock/mongodb-27017.sock"
138 port: ~
139 auth: ~
140 options: ~
141 -
142 description: "Unix domain socket with path resembling socket file and auth (relative path)"
143 uri: "mongodb://bob:bar@rel%2Fpath.to.sock%2Fmongodb-27017.sock/admin"
144 valid: true
145 warning: false
146 hosts:
147 -
148 type: "unix"
149 host: "rel/path.to.sock/mongodb-27017.sock"
150 port: ~
151 auth:
152 username: "bob"
153 password: "bar"
154 db: "admin"
155 options: ~
156 -
157 description: "Multiple Unix domain sockets and auth DB resembling a socket (relative path)"
158 uri: "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin"
159 valid: true
160 warning: false
161 hosts:
162 -
163 type: "unix"
164 host: "rel/mongodb-27017.sock"
165 port: ~
166 -
167 type: "unix"
168 host: "rel/mongodb-27018.sock"
169 port: ~
170 auth:
171 username: ~
172 password: ~
173 db: "admin"
174 options: ~
175 -
176 description: "Multiple Unix domain sockets with auth DB resembling a path (relative path)"
177 uri: "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin"
178 valid: true
179 warning: false
180 hosts:
181 -
182 type: "unix"
183 host: "rel/mongodb-27017.sock"
184 port: ~
185 -
186 type: "unix"
187 host: "rel/mongodb-27018.sock"
188 port: ~
189 auth:
190 username: ~
191 password: ~
192 db: "admin"
193 options: ~
194 -
195 description: "Multiple Unix domain sockets with auth and query string (relative path)"
196 uri: "mongodb://bob:bar@rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin?w=1"
197 valid: true
198 warning: false
199 hosts:
200 -
201 type: "unix"
202 host: "rel/mongodb-27017.sock"
203 port: ~
204 -
205 type: "unix"
206 host: "rel/mongodb-27018.sock"
207 port: ~
208 auth:
209 username: "bob"
210 password: "bar"
211 db: "admin"
212 options:
213 w: 1
View as plain text