Commit e9584ec
committed
dial: Fix flake in TestLBServiceResolver
The test was prepending a reactor after Hive was started causing it
sometimes to be added too late.
Also remove the check that "store should not have started" as that makes
no sense since call to "Resolve()" does not affect whether or not a
reflector in the background has made the list call or not.
$ stress -count 10000 ./dial.test
1m7s: 10000 runs total, 0 failures
Fixes: cilium#43157
Fixes: 0e0242e ("dial: Use Table[Frontend] for looking up address")
Signed-off-by: Jussi Maki <jussi@isovalent.com>1 parent 638d5d4 commit e9584ec
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments