File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ public function testRetryOnDifferentMongos(): void
37
37
* TODO: Support topologies with 3+ servers by selecting only two and
38
38
* recreating a client URI.
39
39
*/
40
+ if (count ($ this ->manager ->getServers () !== 2 )) {
41
+ $ this ->fail ('Unexpected server count: ' . count ($ this ->manager ->getServers ()));
42
+ }
43
+
40
44
assert (count ($ this ->manager ->getServers ()) === 2 );
41
45
42
46
// Step 2: Configure the following fail point on each mongos
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ public function testRetryOnDifferentMongos(): void
39
39
* TODO: Support topologies with 3+ servers by selecting only two and
40
40
* recreating a client URI.
41
41
*/
42
+ if (count ($ this ->manager ->getServers ()) !== 2 ) {
43
+ $ this ->fail ('Unexpected server count: ' . count ($ this ->manager ->getServers ()));
44
+ }
45
+
42
46
assert (count ($ this ->manager ->getServers ()) === 2 );
43
47
44
48
// Step 2: Configure the following fail point on each mongos
You can’t perform that action at this time.
0 commit comments