Commit a6fa132
committed
fix: handle 'marked for deletion' as not-found, retry in list test
Secrets deleted without force_delete enter a recovery window where
get() returns InvalidRequestException("marked for deletion") instead
of ResourceNotFoundException. Treat both as not-found.
ListSecrets is eventually consistent — newly created secrets may not
appear immediately. Add a brief retry loop in the list test.1 parent 13603d6 commit a6fa132
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
703 | 708 | | |
704 | 709 | | |
705 | 710 | | |
706 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
707 | 723 | | |
708 | 724 | | |
709 | | - | |
| 725 | + | |
710 | 726 | | |
711 | 727 | | |
712 | 728 | | |
| |||
0 commit comments