is it in the in-between period?

This commit is contained in:
Stephen Compall 2020-08-03 15:07:31 -04:00
parent d47388758a
commit 211ebfe9d2

View File

@ -519,6 +519,7 @@ class TriggerServiceTestWithDb
_ <- assertTriggerStatus(uri, triggerId, _.last == "running")
} yield succeed
}
_ <- Future(Thread sleep 1000) // is it in the in-between period?
// Once service is shutdown, start a new one and check the previously running trigger is restarted.
_ <- withTriggerService(None) { (uri: Uri, client: LedgerClient, ledgerProxy: Proxy) =>
for {