Add allowClientError to Scenario interface for expected client failures (#123)
* Add allowClientError to Scenario interface for expected client failures * Apply suggestion from @pcarleton Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com> --------- Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
This commit is contained in:
parent
c2f3fdaf78
commit
0064ea0c95
2 changed files with 19 additions and 5 deletions
|
|
@ -29,6 +29,7 @@ export class ResourceMismatchScenario implements Scenario {
|
|||
name = 'auth/resource-mismatch';
|
||||
description =
|
||||
'Tests that client rejects when PRM resource does not match server URL';
|
||||
allowClientError = true;
|
||||
|
||||
private authServer = new ServerLifecycle();
|
||||
private server = new ServerLifecycle();
|
||||
|
|
|
|||
|
|
@ -479,6 +479,7 @@ export class ScopeRetryLimitScenario implements Scenario {
|
|||
name = 'auth/scope-retry-limit';
|
||||
description =
|
||||
'Tests that client implements retry limits to prevent infinite authorization loops on repeated 403 responses';
|
||||
allowClientError = true;
|
||||
private authServer = new ServerLifecycle();
|
||||
private server = new ServerLifecycle();
|
||||
private checks: ConformanceCheck[] = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue