Details
Description
After we have detected that a replica needs failing over, we add a replica and wait to see if it's live.
Currently we only wait for 30ms , but I think the intention here was to wait for 30s.
In CloudStateUtil.waitToSeeLive() the conversion should have been System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.SECONDS); instead of System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.MILLISECONDS);