24
24
class UnifiedSpecTest extends FunctionalTestCase
25
25
{
26
26
/**
27
- * Incomplete test groups are listed here. These are checked using a left-
28
- * anchored regex. Note that regex placeholder can't be used.
27
+ * Incomplete test groups are listed here. Any data set that starts with a
28
+ * string listed in this index will be skipped with the message given as
29
+ * value.
30
+ *
31
+ * @var array<string, string>
29
32
*/
30
33
private static array $ incompleteTestGroups = [
31
34
// Many load balancer tests use CMAP events and/or assertNumberConnectionsCheckedOut
@@ -38,6 +41,7 @@ class UnifiedSpecTest extends FunctionalTestCase
38
41
'retryable-writes/retryable writes handshake failures ' => 'Handshakes are not retried (CDRIVER-4532) ' ,
39
42
];
40
43
44
+ /** @var array<string, string> */
41
45
private static array $ incompleteTests = [
42
46
// Many load balancer tests use CMAP events and/or assertNumberConnectionsCheckedOut
43
47
'load-balancers/monitoring events include correct fields: poolClearedEvent events include serviceId ' => 'PHPC does not implement CMAP ' ,
@@ -63,12 +67,17 @@ class UnifiedSpecTest extends FunctionalTestCase
63
67
* Any tests with duplicate names are skipped here. While test names should
64
68
* not be reused in spec tests, this offers a way to skip such tests until
65
69
* the name is changed.
70
+ *
71
+ * @var array<string, string>
66
72
*/
67
73
private static array $ duplicateTests = [];
68
74
69
75
/**
70
76
* Any tests that rely on session pinning (including targetedFailPoint) must
71
- * be skipped since libmongoc does not pin on load-balanced toplogies. */
77
+ * be skipped since libmongoc does not pin on load-balanced toplogies.
78
+ *
79
+ * @var array<string, string>
80
+ */
72
81
private static array $ incompleteLoadBalancerTests = [
73
82
'transactions/mongos-recovery-token: commitTransaction explicit retries include recoveryToken ' => 'libmongoc omits recoveryToken for load-balanced topology (CDRIVER-4718) ' ,
74
83
'transactions/pin-mongos: multiple commits ' => 'libmongoc does not pin for load-balanced topology ' ,
0 commit comments