WaitForDBState waits for the database to be in the specified state. Fails the test harness if the state is not reached within the timeout.
(stateWant string)
| 1066 | |
| 1067 | // WaitForDBState waits for the database to be in the specified state. Fails the test harness if the state is not reached within the timeout. |
| 1068 | func (rt *RestTester) WaitForDBState(stateWant string) { |
| 1069 | rt.WaitForDatabaseState(rt.GetDatabase().Name, stateWant) |
| 1070 | } |
| 1071 | |
| 1072 | // WaitForDatabaseState waits for the specified database to be in the specified state. Fails the test harness if the state is not reached within the timeout. |
| 1073 | func (rt *RestTester) WaitForDatabaseState(dbName string, targetState string) { |