When a aiven_kafka_schema is updated it doesn't necessarily get the latest version.
Instead, if it just reverts to a previous state it get's an existing version.
Takes schema ID from "update" response and fetches the valid version.
Version list is not updated instantly, there is a tiny lag. Polls until finds the given schema ID from the "update" response. This case is flaky, hence it can't be covered in tests.
About this change—what it does
Fixes version issues for
aiven_kafka_schema
:aiven_kafka_schema
is updated it doesn't necessarily get the latest version. Instead, if it just reverts to a previous state it get's an existing version. Takes schema ID from "update" response and fetches the valid version.Resolves #1608.