We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb464e0 commit 95e11eaCopy full SHA for 95e11ea
tests/connection/AConnectionTest.php
@@ -45,6 +45,22 @@ public function testMillisecondTimeout(string $alias): void
45
}
46
47
48
+
49
+ /**
50
+ * @dataProvider provideConnections
51
+ *
52
+ * @doesNotPerformAssertions
53
+ */
54
+ public function testLongNoTimeout(string $alias): void
55
+ {
56
+ $socket = $this->getConnection($alias);
57
+ $protocol = (new Bolt($socket))->build();
58
+ $socket->setTimeout(200);
59
+ $protocol->init(Auth::basic($GLOBALS['NEO_USER'], $GLOBALS['NEO_PASS']));
60
61
+ $protocol->run('CALL apoc.util.sleep(150000)', [], ['tx_timeout' => 150000]);
62
+ }
63
64
/**
65
* @dataProvider provideConnections
66
*/
0 commit comments