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 a6e672b commit bd288feCopy full SHA for bd288fe
tests/Integration/ComplexQueryTest.php
@@ -418,6 +418,25 @@ public function testDiscardAfterTimeout(string $alias): void
418
unset($result);
419
}
420
421
+ /**
422
+ * @dataProvider connectionAliases
423
+ *
424
+ * @doesNotPerformAssertions
425
+ */
426
+ public function testTimeoutNoReturn(string $alias): void
427
+ {
428
+ if (str_starts_with($alias, 'http')) {
429
+ self::markTestSkipped('Http does not support timeouts at the moment');
430
+ }
431
+
432
+ $result = $this->getClient()
433
+ ->getDriver($alias)
434
+ ->createSession()
435
+ ->run('CALL apoc.util.sleep(2000000)', [], TransactionConfiguration::default()->withTimeout(150));
436
437
+ unset($result);
438
439
440
/**
441
* @dataProvider connectionAliases
442
*/
0 commit comments