Repository navigation
Commit e12cd80
committed
test: wait for both A and TXT records in test_register_and_lookup_type_by_uppercase_name
The cache-poll loop broke on `info.addresses` (A record) but the
next assertion checks `info.properties` (a separate TXT record
that arrives via its own cache update). On PyPy / skip_cython
the listener occasionally schedules the assertions between the
two, leaving `info.properties == {}`. Tighten the break condition
to require both before exiting the loop.
Hit on the PR #1710 CI run for pypy-3.10/ubuntu/skip_cython but the
race predates that PR and is not specific to it.1 parent 4bae30a commit e12cd80
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
| |||
0 commit comments