The test driver adds a route for EmptyCall, routes become:
The test driver changes route and asserts RPCs are sent to expected backends. **Note** that the default route `"/"` is always pointing to MIG_default, so all RPCs not matching the new route will be sent to MIG_default.
The test driver adds a route for header exact match, routes become:
The test driver changes route and asserts RPCs are sent to expected backends. **Note** that the default route `"/"` is always pointing to MIG_default, so all RPCs not matching the new route will be sent to MIG_default.
1. header{“xds_md”, exact: “exact_match”}: MIG_2
- {header `xds_md`, exact: `empty_ytpme`}: MIG_2
1. “/”: MIG_default
- Unary -> MIG_default
- Empty -> MIG_2
Assert:
- {header `xds_md`, prefix: `un`}: MIG_2
1. UnaryCall RPCs are sent to MIG_default
- `un` is the prefix of metadata sent with UnaryCall
1. EmptyCall RPCs are sent to MIG_2
- Unary -> MIG_2
- Empty -> MIG_default
- {header `xds_md`, suffix: `me`}: MIG_2
- `me` is the suffix of metadata sent with EmptyCall