Repository navigation
Commit c403a99
committed
Stop the peek-activity test blaming the pty's own delivery on the peek
TestPeekDoesNotCountAsActivityInTheSession took its baseline the moment the
echo became findable in the ring, which can be one chunk of several. Every
chunk read back from the pty moves LastActive, so the pump finishing its
delivery a millisecond later looked exactly like a peek that had touched the
stamp — a race that never fired locally and fired on CI's first run.
The property is unchanged and worth keeping; the measurement now waits for
the session to actually go quiet before it starts. 40 runs under -race.1 parent 27a1111 commit c403a99
1 file changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
103 | 129 | | |
104 | 130 | | |
105 | 131 | | |
106 | 132 | | |
107 | 133 | | |
108 | 134 | | |
109 | | - | |
| 135 | + | |
110 | 136 | | |
111 | 137 | | |
112 | 138 | | |
| |||
0 commit comments