Skip to content

QA: Fix waiting for Geo replication tests when replication is slow

Michael Kozono requested to merge mk/fix-qa-specs-for-gstg-qa into master

What does this MR do?

I attempted to run Geo QA specs against staging, and all 3 specs failed because the GSTG DB was over a minute behind, and we haven't accounted for that possibility. This MR ensures that we wait properly for slow DB replication.

And it allows you to increase the replication timeouts with environment variables if needed.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Related gitlab-com/migration#330 (closed)

Edited by Michael Kozono

Merge request reports