This commit is contained in:
Sasha Krassovsky
2024-01-09 16:59:47 -08:00
committed by Sasha Krassovsky
parent 55aede2762
commit 27587e155d
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ def test_migrations(neon_simple_env: NeonEnv):
with endpoint.cursor() as cur:
cur.execute("SELECT id FROM neon_migration.migration_id")
migration_id = cur.fetchall()
assert migration_id[0][0] == 1
assert migration_id[0][0] == 2
endpoint.stop()
endpoint.start()
@@ -22,7 +22,7 @@ def test_migrations(neon_simple_env: NeonEnv):
with endpoint.cursor() as cur:
cur.execute("SELECT id FROM neon_migration.migration_id")
migration_id = cur.fetchall()
assert migration_id[0][0] == 1
assert migration_id[0][0] == 2
log_path = endpoint.endpoint_path() / "compute.log"
with open(log_path, "r") as log_file: