1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 17:37:50 +01:00
amp/test
Niklas Keller feca077369
Provide useful exception trace in TimeoutCancellationToken (#303)
Without this, the exception trace is pretty useless, because it only includes Loop::run() and other internal loop calls, giving absolutely no indication which kind of thing had a timeout.

Use debug_backtrace instead of creating the exception early, because it helps with the changes to GC behavior such a change might introduce.

Co-authored-by: Aaron Piotrowski <aaron@trowski.com>
2020-04-04 17:05:26 +02:00
..
Loop Fix TracingDriver, add TracingDriverTest 2019-10-01 21:39:23 +02:00
AdaptTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
AllTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
AnyTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
BaseTest.php Catch also \Exception in clearLoopRethrows() 2019-05-31 11:38:02 -05:00
CallableMakerTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CallTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CancellationTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
ConcatTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CoroutineTest.php Fix code style 2019-05-31 11:38:02 -05:00
DeferredTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
DelayedTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
FailureTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
FilterTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
FirstTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
InvalidYieldErrorTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
IteratorFromIterableTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
IteratorToArrayTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
LazyPromiseTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
LoopTest.php Fix build on Travis (#281) 2019-09-21 23:17:45 +02:00
MapTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
MergeTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
PlaceholderTraitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
ProducerTest.php Only create deferred for backpressure if necessary 2019-09-21 18:30:14 +02:00
ProducerTraitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
PromiseTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
RethrowTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
SomeTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
StructTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
SuccessTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
TimeoutCancellationTokenTest.php Provide useful exception trace in TimeoutCancellationToken (#303) 2020-04-04 17:05:26 +02:00
TimeoutTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
TimeoutWithDefaultTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
WaitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
WrapTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00