Skip to content

Commit 32c609b

Browse files
committed
Add expected outcomes for each tests case
1 parent bc31f0d commit 32c609b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/proposals/authentication-filter.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,21 +836,29 @@ For a filter to be considered "resolved", it must:
836836
Invalid resolved filter scenarios:
837837

838838
- Resolved filter that references a secret that does not exist
839+
- Expected outcome: Filter is marked as Invalid. The route rule that references this filter is also marked as Invalid
839840
- Resolved filter that references a secret with the incorrect data key
841+
- Expected outcome: Filter is marked as Invalid. The route rule that references this filter is also marked as Invalid
840842

841843
Valid reference scenarios:
842844

843845
- Resolved filter referenced by a single route rule within a single HTTP/GRPCRoute
846+
- Expected outcome: Requests to this route rule will successfully process authentication requests
844847
- Resolved filter referenced by multiple route rules within a single HTTP/GRPCRoute
845-
- Resolved filter referenced by multiple HTTP/GRPCRoutes
848+
- Expected outcome: Requests to all route rules referencing the filter successfully process authentication requests
849+
- Resolved filter referenced by rules in multiple HTTP/GRPCRoutes
850+
- Expected outcome: Requests to all route rules across each HTTP/GRPCRoute successfully process authentication requests
846851

847852
Invalid reference scenarios:
848853

849854
- Resolved filter referenced multiple times in a single route rule within a single HTTP/GRPCRoute
850-
- Resolved filter referenced multiple times in a single route rule within a single HTTP/GRPCRoute
855+
- Expected outcome: The route rule referencing multiple filters will be marked as Invalid
851856
- Resolved filter referenced multiple times by multiple route rules within a single HTTP/GRPCRoute
857+
- Expected outcome: Each route rule referencing multiple filters will be marked as Invalid
852858
- Unresolved filter referenced by a single route rule within a single HTTP/GRPCRoute
859+
- Expected outcome: The route rule referencing multiple filters will be marked as Invalid
853860
- Unresolved filter referenced by multiple route rules within a single HTTP/GRPCRoute
861+
- Expected outcome: Each route rule referencing multiple filters will be marked as Invalid
854862

855863
## Security Considerations
856864

0 commit comments

Comments
 (0)