Skip to content

Fix!: Propagate gateway variables to model tests#4102

Merged
VaggelisD merged 11 commits intomainfrom
vaggelisd/test_gateway_vars
Apr 15, 2025
Merged

Fix!: Propagate gateway variables to model tests#4102
VaggelisD merged 11 commits intomainfrom
vaggelisd/test_gateway_vars

Conversation

@VaggelisD
Copy link
Contributor

Fixes #4068

This PR addresses the following items:

  • [Fix] Feat!: Make model tests run concurrently #4047 did not properly handle cases where the model doesn't exist, the errors should be caught

  • [Fix] The testing module only takes config.variables into account; This is now extended to also use the selected gateway's variables

  • [Refactor] The APIs for loading & running tests are fragmented into multiple points e.g run_model_tests and run_tests. To address that, this PR attempts to unify the test loading+running logic.

@VaggelisD VaggelisD force-pushed the vaggelisd/test_gateway_vars branch 4 times, most recently from fa7c3a1 to 8f8b58a Compare April 9, 2025 12:38
@VaggelisD VaggelisD requested a review from a team April 9, 2025 13:20
@VaggelisD
Copy link
Contributor Author

The latter commit (d460f6f) brought the following changes:

@VaggelisD VaggelisD requested a review from a team April 10, 2025 15:33
@VaggelisD VaggelisD force-pushed the vaggelisd/test_gateway_vars branch from c71693e to e1ad483 Compare April 10, 2025 17:54
@VaggelisD VaggelisD force-pushed the vaggelisd/test_gateway_vars branch 2 times, most recently from 86362f0 to 99e6591 Compare April 11, 2025 11:59
@VaggelisD VaggelisD force-pushed the vaggelisd/test_gateway_vars branch from d28523e to 45c0f80 Compare April 14, 2025 11:54
@VaggelisD VaggelisD merged commit b304428 into main Apr 15, 2025
21 of 22 checks passed
@VaggelisD VaggelisD deleted the vaggelisd/test_gateway_vars branch April 15, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testing module not accessing gateway variables

3 participants