|
58 | 58 | "tests/e2e/configuration/{mode_dir}/lightspeed-stack-mcp-file-auth.yaml", |
59 | 59 | "tests/e2e-prow/rhoai/configs/lightspeed-stack-mcp-file-auth.yaml", |
60 | 60 | ), |
| 61 | + "invalid-mcp-file-auth": ( |
| 62 | + "tests/e2e/configuration/{mode_dir}/lightspeed-stack-invalid-mcp-file-auth.yaml", |
| 63 | + "tests/e2e-prow/rhoai/configs/lightspeed-stack-invalid-mcp-file-auth.yaml", |
| 64 | + ), |
| 65 | + "mcp-kubernetes-auth": ( |
| 66 | + "tests/e2e/configuration/{mode_dir}/lightspeed-stack-mcp-kubernetes-auth.yaml", |
| 67 | + "tests/e2e-prow/rhoai/configs/lightspeed-stack-mcp-kubernetes-auth.yaml", |
| 68 | + ), |
| 69 | + "mcp-client-auth": ( |
| 70 | + "tests/e2e/configuration/{mode_dir}/lightspeed-stack-mcp-client-auth.yaml", |
| 71 | + "tests/e2e-prow/rhoai/configs/lightspeed-stack-mcp-client-auth.yaml", |
| 72 | + ), |
| 73 | + "mcp-oauth-auth": ( |
| 74 | + "tests/e2e/configuration/{mode_dir}/lightspeed-stack-mcp-oauth-auth.yaml", |
| 75 | + "tests/e2e-prow/rhoai/configs/lightspeed-stack-mcp-oauth-auth.yaml", |
| 76 | + ), |
61 | 77 | } |
62 | 78 |
|
63 | 79 |
|
@@ -219,17 +235,17 @@ def before_scenario(context: Context, scenario: Scenario) -> None: |
219 | 235 | switch_config(context.scenario_config) |
220 | 236 | restart_container("lightspeed-stack") |
221 | 237 | if "MCPKubernetesAuthConfig" in scenario.effective_tags: |
222 | | - context.scenario_config = _get_config_path("mcp-kubernetes", mode_dir) |
| 238 | + context.scenario_config = _get_config_path("mcp-kubernetes-auth", mode_dir) |
223 | 239 | unregister_mcp_toolgroups() |
224 | 240 | switch_config(context.scenario_config) |
225 | 241 | restart_container("lightspeed-stack") |
226 | 242 | if "MCPClientAuthConfig" in scenario.effective_tags: |
227 | | - context.scenario_config = _get_config_path("mcp-client", mode_dir) |
| 243 | + context.scenario_config = _get_config_path("mcp-client-auth", mode_dir) |
228 | 244 | unregister_mcp_toolgroups() |
229 | 245 | switch_config(context.scenario_config) |
230 | 246 | restart_container("lightspeed-stack") |
231 | 247 | if "MCPOAuthAuthConfig" in scenario.effective_tags: |
232 | | - context.scenario_config = _get_config_path("mcp-oauth", mode_dir) |
| 248 | + context.scenario_config = _get_config_path("mcp-oauth-auth", mode_dir) |
233 | 249 | unregister_mcp_toolgroups() |
234 | 250 | switch_config(context.scenario_config) |
235 | 251 | restart_container("lightspeed-stack") |
|
0 commit comments