You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/spectest/skip.go
+35-12Lines changed: 35 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -11,22 +11,23 @@ import "testing"
11
11
// skipTests is a map of "fully-qualified test name" to "the reason for skipping
12
12
// the test".
13
13
varskipTests=map[string]string{
14
-
"TestURIOptionsSpec/single-threaded-options.json/Valid_options_specific_to_single-threaded_drivers_are_parsed_correctly": "the Go Driver is not single-threaded.",
14
+
"TestURIOptionsSpec/single-threaded-options.json/Valid_options_specific_to_single-threaded_drivers_are_parsed_correctly": "The Go Driver is not single-threaded.",
15
+
15
16
// 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",
17
+
"TestURIOptionsSpec/concern-options.json/Valid_read_and_write_concern_are_parsed_correctly": "The wtimeoutMS write concern option is not supported",
17
18
18
19
// SPEC-1403: This test checks to see if the correct error is thrown when
19
20
// auto encrypting with a server < 4.2. Currently, the test will fail
20
21
// because a server < 4.2 wouldn't have mongocryptd, so Client construction
21
22
// would fail with a mongocryptd spawn error.
22
-
"TestClientSideEncryptionSpec/maxWireVersion.json/operation_fails_with_maxWireVersion_<_8": "servers less than 4.2 do not have mongocryptd; see SPEC-1403",
23
+
"TestClientSideEncryptionSpec/maxWireVersion.json/operation_fails_with_maxWireVersion_<_8": "Servers less than 4.2 do not have mongocryptd; see SPEC-1403",
23
24
24
25
// GODRIVER-1827: These 2 tests assert that in-use connections are not
25
26
// closed until checked back into a closed pool, but the Go connection pool
26
27
// aggressively closes in-use connections. That behavior is currently
27
28
// required by the "Client.Disconnect" API, so skip the tests.
28
-
"TestCMAPSpec/pool-close-destroy-conns.json/When_a_pool_is_closed,_it_MUST_first_destroy_all_available_connections_in_that_pool": "test requires that close does not aggressively close used connections",
29
-
"TestCMAPSpec/pool-close-destroy-conns.json/must_destroy_checked_in_connection_if_pool_has_been_closed": "test requires that close does not aggressively close used connections",
29
+
"TestCMAPSpec/pool-close-destroy-conns.json/When_a_pool_is_closed,_it_MUST_first_destroy_all_available_connections_in_that_pool": "Test requires that close does not aggressively close used connections",
30
+
"TestCMAPSpec/pool-close-destroy-conns.json/must_destroy_checked_in_connection_if_pool_has_been_closed": "Test requires that close does not aggressively close used connections",
30
31
31
32
// GODRIVER-1826: The load-balancer SDAM error handling test "errors during
32
33
// authentication are processed" currently asserts that handshake errors
@@ -40,7 +41,7 @@ var skipTests = map[string]string{
40
41
// TODO(DRIVERS-1785): Re-enable this test once the spec test is updated to
41
42
// use the same event order as the "errors during authentication are
42
43
// processed" load-balancer SDAM spec test.
43
-
"TestCMAPSpec/pool-create-min-size-error.json/error_during_minPoolSize_population_clears_pool": "event ordering is incompatible with load-balancer SDAM spec test (DRIVERS-1785)",
44
+
"TestCMAPSpec/pool-create-min-size-error.json/error_during_minPoolSize_population_clears_pool": "Event ordering is incompatible with load-balancer SDAM spec test (DRIVERS-1785)",
44
45
45
46
// GODRIVER-1826: The Go connection pool does not currently always deliver
46
47
// connections created by maintain() to waiting check-outs. There is a race
@@ -53,7 +54,7 @@ var skipTests = map[string]string{
53
54
//
54
55
// TODO(DRIVERS-2225): Re-enable this test once the spec test is updated to
55
56
// support the Go pool minPoolSize maintain() behavior.
56
-
"TestCMAPSpec/pool-checkout-minPoolSize-connection-maxConnecting.json/threads_blocked_by_maxConnecting_check_out_minPoolSize_connections": "test requires that connections established by minPoolSize are immediately used to satisfy check-out requests (DRIVERS-2225)",
57
+
"TestCMAPSpec/pool-checkout-minPoolSize-connection-maxConnecting.json/threads_blocked_by_maxConnecting_check_out_minPoolSize_connections": "Test requires that connections established by minPoolSize are immediately used to satisfy check-out requests (DRIVERS-2225)",
57
58
58
59
// GODRIVER-1826: The Go connection pool currently delivers any available
59
60
// connection to the earliest waiting check-out request, independent of if
@@ -64,10 +65,10 @@ var skipTests = map[string]string{
64
65
//
65
66
// TODO(DRIVERS-2223): Re-enable this test once the spec test is updated to
66
67
// support the Go pool check-in behavior.
67
-
"TestCMAPSpec/pool-checkout-returned-connection-maxConnecting.json/threads_blocked_by_maxConnecting_check_out_returned_connections": "test requires a checked-in connections cannot satisfy a check-out waiting on a new connection (DRIVERS-2223)",
68
+
"TestCMAPSpec/pool-checkout-returned-connection-maxConnecting.json/threads_blocked_by_maxConnecting_check_out_returned_connections": "Test requires a checked-in connections cannot satisfy a check-out waiting on a new connection (DRIVERS-2223)",
68
69
69
70
// TODO(GODRIVER-2129): Re-enable this test once GODRIVER-2129 is done.
70
-
"TestAuthSpec/connection-string.json/must_raise_an_error_when_the_hostname_canonicalization_is_invalid": "support will be added with GODRIVER-2129.",
71
+
"TestAuthSpec/connection-string.json/must_raise_an_error_when_the_hostname_canonicalization_is_invalid": "Support will be added with GODRIVER-2129.",
71
72
72
73
// GODRIVER-1773: This test runs a "find" with limit=4 and batchSize=3. It
73
74
// expects batchSize values of three for the "find" and one for the
@@ -78,9 +79,9 @@ var skipTests = map[string]string{
78
79
// GODRIVER-2577: The following spec tests require canceling ops
79
80
// immediately, but the current logic clears pools and cancels in-progress
80
81
// ops after two the heartbeat failures.
81
-
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Connection_pool_clear_uses_interruptInUseConnections=true_after_monitor_timeout": "Godriver clears after multiple timeout",
82
-
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable": "Godriver clears after multiple timeout",
83
-
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable_for_write": "Godriver clears after multiple timeout",
82
+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Connection_pool_clear_uses_interruptInUseConnections=true_after_monitor_timeout": "Go Driver clears after multiple timeout",
83
+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable": "Go Driver clears after multiple timeout",
84
+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable_for_write": "Go Driver clears after multiple timeout",
84
85
85
86
// TODO(GODRIVER-2843): Fix and unskip these test cases.
86
87
"TestUnifiedSpec/sessions/snapshot-sessions.json/Find_operation_with_snapshot": "Test fails frequently. See GODRIVER-2843",
@@ -135,6 +136,28 @@ var skipTests = map[string]string{
135
136
// (BadValue) cannot set maxTimeMS on getMore command for a non-awaitData cursor
136
137
//
137
138
"TestUnifiedSpec/client-side-operations-timeout/runCursorCommand.json/Non-tailable_cursor_lifetime_remaining_timeoutMS_applied_to_getMore_if_timeoutMode_is_unset": "maxTimeMS can't be set on a getMore. See DRIVERS-2953",
139
+
140
+
// TODO(GODRIVER-2466): Converting SDAM integration spec tests to unified
141
+
// test format requires implementing new test operations, such as
142
+
// "recordTopologyDescription".
143
+
//
144
+
// Need to un-skip whenever GODRIVER-2466 is completed.
0 commit comments