Commit 3e5d822
committed
EventServiceTest: try to speed up a test
We do not need to _always_ wait 500 ms, but rather can try waiting for
a notification from the other thread. Given the overhead of queuing
things onto the EDT, it turns out that the test thread does end up
waiting before the EDT notifies. So in practice it should cut down on
how long the test takes to run.
Suggested by Johannes Schindelin.1 parent c7fb828 commit 3e5d822
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
| |||
0 commit comments