We have noticed that sometimes in AWS, it takes a while for our author instances to be in-sync. If we run our functional tests before the author instances are completely in-sync, when the tests hit the dispatcher, they might be routed to a yet-unsynced instance and fail.
Is there a way (ideally a REST call) to check if author instances are in-sync before starting our functional tests?
Thanks.