public void waitForState(String stateRegex, Duration timeout) {
        waitForState(stateRegex, timeout.toMillis(), 0);
    }
Old class used for waiting for something..
Deprecated.. Use the Waiter class instead
clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/StateWaiter.java