OLD | NEW |
1 This test verifies throttler behavior. | 1 This test verifies throttler behavior. |
2 | 2 |
3 | 3 |
4 Running: testSimpleSchedule | 4 Running: testSimpleSchedule |
5 Throttler is in IDLE state (doesn't have any timers set up) | 5 Throttler is in IDLE state (doesn't have any timers set up) |
6 SCHEDULED: 'operation #1' asSoonAsPossible: false | 6 SCHEDULED: 'operation #1' asSoonAsPossible: false |
7 SCHEDULED: 'operation #2' asSoonAsPossible: undefined | 7 SCHEDULED: 'operation #2' asSoonAsPossible: undefined |
8 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 8 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
9 Process 'operation #2' STARTED. | 9 Process 'operation #2' STARTED. |
10 Process 'operation #2' FINISHED. | 10 Process 'operation #2' FINISHED. |
11 | 11 |
12 Running: testAsSoonAsPossibleOverrideTimeout | 12 Running: testAsSoonAsPossibleOverrideTimeout |
13 Throttler is in IDLE state (doesn't have any timers set up) | 13 Throttler is in IDLE state (doesn't have any timers set up) |
14 SCHEDULED: 'operation #1' asSoonAsPossible: undefined | 14 SCHEDULED: 'operation #1' asSoonAsPossible: undefined |
15 SCHEDULED: 'operation #2' asSoonAsPossible: true | 15 SCHEDULED: 'operation #2' asSoonAsPossible: true |
16 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 16 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] |
17 Process 'operation #2' STARTED. | 17 Process 'operation #2' STARTED. |
18 Process 'operation #2' FINISHED. | 18 Process 'operation #2' FINISHED. |
19 | 19 |
20 Running: testAlwaysExecuteLastScheduled | 20 Running: testAlwaysExecuteLastScheduled |
21 Throttler is in IDLE state (doesn't have any timers set up) | 21 Throttler is in IDLE state (doesn't have any timers set up) |
22 SCHEDULED: 'operation #0' asSoonAsPossible: true | 22 SCHEDULED: 'operation #0' asSoonAsPossible: true |
23 SCHEDULED: 'operation #1' asSoonAsPossible: false | 23 SCHEDULED: 'operation #1' asSoonAsPossible: false |
24 SCHEDULED: 'operation #2' asSoonAsPossible: true | 24 SCHEDULED: 'operation #2' asSoonAsPossible: true |
25 SCHEDULED: 'operation #3' asSoonAsPossible: false | 25 SCHEDULED: 'operation #3' asSoonAsPossible: false |
26 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 26 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] |
27 Process 'operation #3' STARTED. | 27 Process 'operation #3' STARTED. |
28 Process 'operation #3' FINISHED. | 28 Process 'operation #3' FINISHED. |
29 | 29 |
30 Running: testSimpleScheduleDuringProcess | 30 Running: testSimpleScheduleDuringProcess |
31 Throttler is in IDLE state (doesn't have any timers set up) | 31 Throttler is in IDLE state (doesn't have any timers set up) |
32 SCHEDULED: 'long operation' asSoonAsPossible: undefined | 32 SCHEDULED: 'long operation' asSoonAsPossible: undefined |
33 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 33 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
34 Process 'long operation' STARTED. | 34 Process 'long operation' STARTED. |
35 Throttler is in IDLE state (doesn't have any timers set up) | 35 Throttler is in IDLE state (doesn't have any timers set up) |
36 SCHEDULED: 'operation #1' asSoonAsPossible: false | 36 SCHEDULED: 'operation #1' asSoonAsPossible: false |
37 SCHEDULED: 'operation #2' asSoonAsPossible: undefined | 37 SCHEDULED: 'operation #2' asSoonAsPossible: undefined |
38 Process 'long operation' FINISHED. | 38 Process 'long operation' FINISHED. |
39 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] | 39 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
40 Process 'operation #2' STARTED. | 40 Process 'operation #2' STARTED. |
41 Process 'operation #2' FINISHED. | 41 Process 'operation #2' FINISHED. |
42 | 42 |
43 Running: testAsSoonAsPossibleOverrideDuringProcess | 43 Running: testAsSoonAsPossibleOverrideDuringProcess |
44 Throttler is in IDLE state (doesn't have any timers set up) | 44 Throttler is in IDLE state (doesn't have any timers set up) |
45 SCHEDULED: 'long operation' asSoonAsPossible: undefined | 45 SCHEDULED: 'long operation' asSoonAsPossible: undefined |
46 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 46 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
47 Process 'long operation' STARTED. | 47 Process 'long operation' STARTED. |
48 Throttler is in IDLE state (doesn't have any timers set up) | 48 Throttler is in IDLE state (doesn't have any timers set up) |
49 SCHEDULED: 'operation #1' asSoonAsPossible: undefined | 49 SCHEDULED: 'operation #1' asSoonAsPossible: undefined |
50 SCHEDULED: 'operation #2' asSoonAsPossible: true | 50 SCHEDULED: 'operation #2' asSoonAsPossible: true |
51 Process 'long operation' FINISHED. | 51 Process 'long operation' FINISHED. |
52 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 52 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] |
53 Process 'operation #2' STARTED. | 53 Process 'operation #2' STARTED. |
54 Process 'operation #2' FINISHED. | 54 Process 'operation #2' FINISHED. |
55 | 55 |
56 Running: testAlwaysExecuteLastScheduledDuringProcess | 56 Running: testAlwaysExecuteLastScheduledDuringProcess |
57 Throttler is in IDLE state (doesn't have any timers set up) | 57 Throttler is in IDLE state (doesn't have any timers set up) |
58 SCHEDULED: 'long operation' asSoonAsPossible: undefined | 58 SCHEDULED: 'long operation' asSoonAsPossible: undefined |
59 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 59 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
60 Process 'long operation' STARTED. | 60 Process 'long operation' STARTED. |
61 Throttler is in IDLE state (doesn't have any timers set up) | 61 Throttler is in IDLE state (doesn't have any timers set up) |
62 SCHEDULED: 'operation #0' asSoonAsPossible: true | 62 SCHEDULED: 'operation #0' asSoonAsPossible: true |
63 SCHEDULED: 'operation #1' asSoonAsPossible: false | 63 SCHEDULED: 'operation #1' asSoonAsPossible: false |
64 SCHEDULED: 'operation #2' asSoonAsPossible: true | 64 SCHEDULED: 'operation #2' asSoonAsPossible: true |
65 SCHEDULED: 'operation #3' asSoonAsPossible: false | 65 SCHEDULED: 'operation #3' asSoonAsPossible: false |
66 Process 'long operation' FINISHED. | 66 Process 'long operation' FINISHED. |
67 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 67 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] |
68 Process 'operation #3' STARTED. | 68 Process 'operation #3' STARTED. |
69 Process 'operation #3' FINISHED. | 69 Process 'operation #3' FINISHED. |
70 | 70 |
71 Running: testScheduleFromProcess | 71 Running: testScheduleFromProcess |
72 Throttler is in IDLE state (doesn't have any timers set up) | 72 Throttler is in IDLE state (doesn't have any timers set up) |
73 SCHEDULED: 'operation #1' asSoonAsPossible: undefined | 73 SCHEDULED: 'operation #1' asSoonAsPossible: undefined |
74 Throttler is in TIMEOUT state. Scheduled timers timeouts: [0] | 74 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
75 Process 'operation #1' STARTED. | 75 Process 'operation #1' STARTED. |
76 SCHEDULED: 'operation #2' asSoonAsPossible: false | 76 SCHEDULED: 'operation #2' asSoonAsPossible: false |
77 Process 'operation #1' FINISHED. | 77 Process 'operation #1' FINISHED. |
78 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] | 78 Throttler is in TIMEOUT state. Scheduled timers timeouts: [1989] |
79 Process 'operation #2' STARTED. | 79 Process 'operation #2' STARTED. |
80 Process 'operation #2' FINISHED. | 80 Process 'operation #2' FINISHED. |
81 | 81 |
82 Running: testExceptionFromProcess | 82 Running: testExceptionFromProcess |
83 SCHEDULED: 'operation #1' asSoonAsPossible: undefined | 83 SCHEDULED: 'operation #1' asSoonAsPossible: undefined |
84 Process 'operation #1' STARTED. | 84 Process 'operation #1' STARTED. |
85 error: Error: Exception during process execution. | 85 error: Error: Exception during process execution. |
86 Throttler is in IDLE state (doesn't have any timers set up) | 86 Throttler is in IDLE state (doesn't have any timers set up) |
87 | 87 |
OLD | NEW |