Commit efe9ccc
authored
xds: Non-SOTW resources need onError() callbacks, too (#12122)
SOTW is unique in that it can become absent after being found. But if we
NACK when initially loading the resource, we don't want to delay, depend
on the resource timeout, and then give a poor error.
This was noticed while adding the EDS restriction that address is not a
hostname and some tests started hanging instead of failing quickly.1 parent 48d08e6 commit efe9ccc
File tree
2 files changed
+7
-6
lines changed- xds/src
- main/java/io/grpc/xds/client
- test/java/io/grpc/xds
2 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | 595 | | |
602 | 596 | | |
603 | 597 | | |
| |||
607 | 601 | | |
608 | 602 | | |
609 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
610 | 609 | | |
611 | 610 | | |
612 | 611 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3270 | 3270 | | |
3271 | 3271 | | |
3272 | 3272 | | |
| 3273 | + | |
| 3274 | + | |
3273 | 3275 | | |
3274 | 3276 | | |
3275 | 3277 | | |
| |||
0 commit comments