Commit 150eb5f
committed
test: handle invalid_grant in default creds system tests
This change updates the system tests for default credentials to explicitly
allow "invalid_grant" errors when running with `authorized_user.json`
credentials. This is because the CI environment uses credentials that
frequently expire, and the server response for expired credentials
has changed to return "invalid_grant", causing tests to fail instead
of being suppressed as intended. This ensures the tests verify the
library correctly handles the expiration error rather than failing.
References: #18821 parent 94d04e0 commit 150eb5f
File tree
2 files changed
+16
-2
lines changed- system_tests
- system_tests_async
- system_tests_sync
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 | | |
0 commit comments