Remove obsolete 'awaits_download' field.

It used to be a separate piece of state, but after 9a6c0be823 it's just
an alias for the Tenant being in Attaching state. It was only used in
one assertion in a test, but that check doesn't make sense anymore, so
just remove it.

Fixes https://github.com/neondatabase/neon/issues/2930
This commit is contained in:
Heikki Linnakangas
2022-12-07 12:27:27 +02:00
committed by Heikki Linnakangas
parent b447eb4d1e
commit b513619503
4 changed files with 3 additions and 20 deletions

View File

@@ -165,7 +165,6 @@ def test_remote_storage_backup_and_restore(
assert (
Lsn(detail["last_record_lsn"]) >= current_lsn
), "current db Lsn should should not be less than the one stored on remote storage"
assert not detail["awaits_download"]
pg = env.postgres.create_start("main")
with pg.cursor() as cur: