Skip to content

Commit

Permalink
Tests: Remove tests related to database migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 7, 2023
1 parent 967848f commit 5a623ba
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/test_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -3358,21 +3358,6 @@ def test_log_inputs_with_duplicates_in_single_request(self):
)


class TestSqlAlchemyStoreMigratedDB(TestSqlAlchemyStore):
"""
Test case where user has an existing DB with schema generated before MLflow 1.0,
then migrates their DB.
"""

def setUp(self):
super()._setup_db_uri()
engine = sqlalchemy.create_engine(self.db_url)
InitialBase.metadata.create_all(engine)
engine.dispose()
invoke_cli_runner(mlflow.db.commands, ["upgrade", self.db_url])
self.store = SqlAlchemyStore(self.db_url, ARTIFACT_URI)


class TextClauseMatcher:
def __init__(self, text):
self.text = text
Expand Down

0 comments on commit 5a623ba

Please sign in to comment.