daml/libs-scala
Stephen Compall 3196ef7575
fix flaky 'restart triggers after shutdown' test (#6926)
* reenable 'restart triggers after shutdown'

CHANGELOG_BEGIN
CHANGELOG_END

* wait for everything to shut down before completing a withTriggerService fixture

- similar to a change to HttpServiceFixture.withHttpService in #4593,
  but without the suppression of shutdown errors

* label the WithDb tests

* in CI, test only 'recover packages after shutdown', 50 times

* experiment: Process#destroy appears to be async

* is it in the in-between period?

* partial -> total

* replace some booleans with assertions for better error reporting

* make triggerLog concurrent

* close channel and file in other error cases for port locking

- suggested by @leo-da; thanks

* use port locking instead of port 0 for trigger service fixtures

* destroy one service at a time

* missed continuation in build script

* use assertion language for "restart triggers with update errors"

* Revert "is it in the in-between period?"

This reverts commit 211ebfe9d2.

* use better assertion language for "restart triggers with update errors"

* restore full CI build
2020-08-04 08:15:08 -04:00
..
auth-utils Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
build-info Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
contextualized-logging Properly use LoggingContext in Participant Server (#6924) 2020-07-31 12:40:13 +00:00
direct-execution-context Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
grpc-utils Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
ports fix flaky 'restart triggers after shutdown' test (#6926) 2020-08-04 08:15:08 -04:00
postgresql-testing triggers + ports: Lock free ports before binding. (#6911) 2020-07-29 14:29:55 +00:00
resources Properly use LoggingContext in Participant Server (#6924) 2020-07-31 12:40:13 +00:00
resources-akka Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
scala-utils Introduce //libs-scala/scala-utils (#6935) 2020-07-30 13:51:07 -04:00
scalatest-utils set scalac -Xsource:2.13 -Ypartial-unification globally (#6469) 2020-06-24 16:51:24 -04:00
timer-utils Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00