@@ -12,8 +12,6 @@ import "testing"
1212// the test".
1313var skipTests = map [string ]string {
1414 "TestURIOptionsSpec/single-threaded-options.json/Valid_options_specific_to_single-threaded_drivers_are_parsed_correctly" : "The Go Driver is not single-threaded." ,
15- // GODRIVER-2348: The wtimeoutMS write concern option is not supported.
16- "TestURIOptionsSpec/concern-options.json/Valid_read_and_write_concern_are_parsed_correctly" : "The wtimeoutMS write concern option is not supported" ,
1715
1816 // SPEC-1403: This test checks to see if the correct error is thrown when
1917 // auto encrypting with a server < 4.2. Currently, the test will fail
@@ -152,6 +150,81 @@ var skipTests = map[string]string{
152150 "TestUnifiedSpec/server-discovery-and-monitoring/unified/sharded-emit-topology-changed-before-close.json/Topology_lifecycle" : "Implement GODRIVER-2967" ,
153151 "TestUnifiedSpec/server-discovery-and-monitoring/unified/replicaset-emit-topology-changed-before-close.json/Topology_lifecycle" : "Implement GODRIVER-2967" ,
154152 "TestUnifiedSpec/server-discovery-and-monitoring/unified/standalone-emit-topology-changed-before-close.json/Topology_lifecycle" : "Implement GODRIVER-2967" ,
153+
154+ // TODO(GODRIVER-2183): Socks5 Proxy Support.
155+ "TestURIOptionsSpec/proxy-options.json/proxyPort_without_proxyHost" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
156+ "TestURIOptionsSpec/proxy-options.json/proxyUsername_without_proxyHost" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
157+ "TestURIOptionsSpec/proxy-options.json/proxyPassword_without_proxyHost" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
158+ "TestURIOptionsSpec/proxy-options.json/all_other_proxy_options_without_proxyHost" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
159+ "TestURIOptionsSpec/proxy-options.json/proxyUsername_without_proxyPassword" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
160+ "TestURIOptionsSpec/proxy-options.json/proxyPassword_without_proxyUsername" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
161+ "TestURIOptionsSpec/proxy-options.json/multiple_proxyHost_parameters" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
162+ "TestURIOptionsSpec/proxy-options.json/multiple_proxyPort_parameters" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
163+ "TestURIOptionsSpec/proxy-options.json/multiple_proxyUsername_parameters" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
164+ "TestURIOptionsSpec/proxy-options.json/multiple_proxyPassword_parameters" : "Implement GODRIVER-2183 for Socks5 Proxy Support" ,
165+
166+ // wtimeoutMS write concern option is not supported.
167+ "TestURIOptionsSpec/concern-options.json/Valid_read_and_write_concern_are_parsed_correctly" : "wtimeoutMS is deprecated" ,
168+ "TestURIOptionsSpec/concern-options.json/Non-numeric_wTimeoutMS_causes_a_warning" : "wtimeoutMS is deprecated" ,
169+ "TestURIOptionsSpec/concern-options.json/Too_low_wTimeoutMS_causes_a_warning" : "wtimeoutMS is deprecated" ,
170+ "TestReadWriteConcernSpec/connstring/write-concern.json/wtimeoutMS_as_an_invalid_number" : "wtimeoutMS is deprecated" ,
171+
172+ // Unsupported TLS behavior in connection strings.
173+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsDisableCertificateRevocationCheck_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
174+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates=true_and_tlsDisableCertificateRevocationCheck=false_raises_an_error" : "unsupported connstring behavior" ,
175+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates=false_and_tlsDisableCertificateRevocationCheck=true_raises_an_error" : "unsupported connstring behavior" ,
176+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsDisableCertificateRevocationCheck_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
177+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsAllowInvalidCertificates_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
178+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=true_and_tlsAllowInvalidCertificates=false_raises_an_error" : "unsupported connstring behavior" ,
179+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=false_and_tlsAllowInvalidCertificates=true_raises_an_error" : "unsupported connstring behavior" ,
180+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsAllowInvalidCertificates_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
181+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsDisableCertificateRevocationCheck_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
182+ "TestURIOptionsSpec/tls-options.json/tlsInsecure=true_and_tlsDisableCertificateRevocationCheck=false_raises_an_error" : "unsupported connstring behavior" ,
183+ "TestURIOptionsSpec/tls-options.json/tlsInsecure=false_and_tlsDisableCertificateRevocationCheck=true_raises_an_error" : "unsupported connstring behavior" ,
184+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsDisableCertificateRevocationCheck_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
185+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsInsecure_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
186+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=true_and_tlsInsecure=false_raises_an_error" : "unsupported connstring behavior" ,
187+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=false_and_tlsInsecure=true_raises_an_error" : "unsupported connstring behavior" ,
188+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsInsecure_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
189+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsDisableOCSPEndpointCheck_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
190+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=true_and_tlsDisableOCSPEndpointCheck=false_raises_an_error" : "unsupported connstring behavior" ,
191+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck=false_and_tlsDisableOCSPEndpointCheck=true_raises_an_error" : "unsupported connstring behavior" ,
192+ "TestURIOptionsSpec/tls-options.json/tlsDisableCertificateRevocationCheck_and_tlsDisableOCSPEndpointCheck_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
193+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck_and_tlsDisableCertificateRevocationCheck_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
194+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck=true_and_tlsDisableCertificateRevocationCheck=false_raises_an_error" : "unsupported connstring behavior" ,
195+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck=false_and_tlsDisableCertificateRevocationCheck=true_raises_an_error" : "unsupported connstring behavior" ,
196+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck_and_tlsDisableCertificateRevocationCheck_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
197+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsDisableOCSPEndpointCheck_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
198+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates=true_and_tlsDisableOCSPEndpointCheck=false_raises_an_error" : "unsupported connstring behavior" ,
199+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates=false_and_tlsDisableOCSPEndpointCheck=true_raises_an_error" : "unsupported connstring behavior" ,
200+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsDisableOCSPEndpointCheck_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
201+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck_and_tlsAllowInvalidCertificates_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
202+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck=true_and_tlsAllowInvalidCertificates=false_raises_an_error" : "unsupported connstring behavior" ,
203+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck=false_and_tlsAllowInvalidCertificates=true_raises_an_error" : "unsupported connstring behavior" ,
204+ "TestURIOptionsSpec/tls-options.json/tlsDisableOCSPEndpointCheck_and_tlsAllowInvalidCertificates_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
205+ "TestURIOptionsSpec/tls-options.json/Invalid_tlsAllowInvalidCertificates_causes_a_warning" : "unsupported connstring behavior" ,
206+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_is_parsed_correctly" : "unsupported connstring behavior" ,
207+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidHostnames_is_parsed_correctly" : "unsupported connstring behavior" ,
208+ "TestURIOptionsSpec/tls-options.json/Invalid_tlsAllowInvalidHostnames_causes_a_warning" : "unsupported connstring behavior" ,
209+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsAllowInvalidCertificates_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
210+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsAllowInvalidCertificates_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
211+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsInsecure_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
212+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidCertificates_and_tlsInsecure_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
213+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsAllowInvalidHostnames_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
214+ "TestURIOptionsSpec/tls-options.json/tlsInsecure_and_tlsAllowInvalidHostnames_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
215+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidHostnames_and_tlsInsecure_both_present_(and_true)_raises_an_error" : "unsupported connstring behavior" ,
216+ "TestURIOptionsSpec/tls-options.json/tlsAllowInvalidHostnames_and_tlsInsecure_both_present_(and_false)_raises_an_error" : "unsupported connstring behavior" ,
217+
218+ // TODO(GODRIVER-2991): make delimiting slash between hosts and options
219+ // optional.
220+ "TestConnStringSpec/valid-options.json/Missing_delimiting_slash_between_hosts_and_options" : "Implement GODRIVER-2991 making delimiting slash between hosts and options optional" ,
221+
222+ // Connstring tests violate current Go Driver behavior
223+ "TestURIOptionsSpec/connection-pool-options.json/maxConnecting=0_causes_a_warning" : "unsupported behavior" ,
224+ "TestURIOptionsSpec/single-threaded-options.json/Invalid_serverSelectionTryOnce_causes_a_warning" : "unsupported behavior" ,
225+ "TestConnStringSpec/valid-warnings.json/Empty_integer_option_values_are_ignored" : "SPEC-1545: unsupported behavior" ,
226+ "TestConnStringSpec/valid-warnings.json/Empty_boolean_option_value_are_ignored" : "SPEC-1545: unsupported behavior" ,
227+ "TestConnStringSpec/valid-warnings.json/Comma_in_a_key_value_pair_causes_a_warning" : "DRIVERS-2915: unsupported behavior" ,
155228}
156229
157230// CheckSkip checks if the fully-qualified test name matches a skipped test
0 commit comments