2017-04-18 15:53:08 +00:00
|
|
|
Checks that we drop old async call chains.
|
|
|
|
|
|
|
|
Running test: testInfrastructure
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 5
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 5
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1024)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 5
|
|
|
|
actual async chain len: 5
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testZeroLimit
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(0)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 0
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(0)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 0
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(0)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 0
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(0)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 0
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testOneLimit
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
2017-05-11 19:21:24 +00:00
|
|
|
actual async chain len: 1
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-05-11 19:21:24 +00:00
|
|
|
actual async chain len: 1
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(1)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 1
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testTwoLimit
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
2017-05-11 19:21:24 +00:00
|
|
|
actual async chain len: 1
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-05-11 19:21:24 +00:00
|
|
|
actual async chain len: 1
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(2)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 1
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testMoreThanTwoLimit
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 3
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(3)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 3
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 3
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(4)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 3
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 3
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(5)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 3
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 3
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(6)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 3
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 2
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
2017-11-21 15:42:43 +00:00
|
|
|
actual async chain len: 3
|
2017-04-18 15:53:08 +00:00
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 1
|
|
|
|
actual async chain len: 1
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 2
|
|
|
|
actual async chain len: 2
|
|
|
|
|
2017-04-21 23:41:07 +00:00
|
|
|
inspector.setMaxAsyncTaskStacks(7)
|
2017-04-18 15:53:08 +00:00
|
|
|
Run expression 'console.trace(42)' with async chain len: 3
|
|
|
|
actual async chain len: 3
|
|
|
|
|