You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor storage tests to support testing multiple backends on schema changes (#983)
# Pull Request
## Title
Refactor storage tests to support testing multiple backends on schema
changes
______________________________________________________________________
## Description
- adds the ability to run mysql and postgres servers in a container as a
part of pytest
- checks that they succeed with schema setup
- fixes the ones that were broken with mysql
______________________________________________________________________
## Type of Change
- 🛠️ Bug fix
- 🔄 Refactor
- 🧪 Tests
______________________________________________________________________
## Testing
- CI tests
______________________________________________________________________
## Additional Notes (optional)
Part of a series of changes to help improve testing for schedulers.
Next will be schema changes to allow storing fractional seconds in
MySQL.
Merge after #987
______________________________________________________________________
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: mlos_bench/mlos_bench/storage/sql/alembic/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ This document contains some notes on how to use [`alembic`](https://alembic.sqla
45
45
46
46
1. If the migration script works, commit the changes to the [`mlos_bench/storage/sql/schema.py`](../schema.py) and [`mlos_bench/storage/sql/alembic/versions`](./versions/) files.
47
47
48
-
> Be sure to update the latest version in the [`test_storage_schemas.py`](../../../tests/storage/test_storage_schemas.py) file as well.
48
+
> Be sure to update the latest version in the [`test_storage_schemas.py`](../../../tests/storage/sql/test_storage_schemas.py) file as well.
0 commit comments