Skip to content

Commit 081331e

Browse files
committed
Update closed socket test for libmongoc stream handling
The previous error message was based on PHP's stream handlers, which are no longer used in 1.2.x.
1 parent 1575a96 commit 081331e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/standalone/bug0487-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
PHPC-487: check_closed stream handler should report closed socket as closed
2+
PHPC-487: Stream handler should report closed socket as closed
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; SLOW(); ?>
55
--FILE--
@@ -87,6 +87,6 @@ foreach($KILLLIST as $id) {
8787
--EXPECTF--
8888
int(1)
8989
OK: Got MongoDB\Driver\Exception\RuntimeException
90-
Failed to send "insert" command with database "phongo": Failed to read %d bytes from socket within 300000 milliseconds.
90+
Failed to send "insert" command with database "phongo": socket error or timeout
9191
int(1)
9292
===DONE===

0 commit comments

Comments
 (0)