daml/libs-scala
Samir Talwar 85998f8f06
Sandbox-Next: Add the ResetService. (#4802)
* sandbox-next: Make the Runner a real ResourceOwner.

* sandbox: Don't construct the ResetService twice.

* sandbox: Inline and simplify methods in StandaloneApiServer.

* resources: Define a `ResettableResource`, which can be `reset()`.

`reset()` releases the resource, performs an optional reset operation,
and then re-acquires it, binding it to the same variable.

* resources: Pass the resource value into the reset operation.

* sandbox: Fix warnings in `TestCommands`.

* sandbox-next: Add the ResetService.

CHANGELOG_BEGIN
CHANGELOG_END

* sandbox: Make sure the SandboxResetService resets asynchronously.

It was being too clever and negating its own asynchronous behavior.

* sandbox-next: Forbid no seeding.

This double negative is really hard to phrase well.

* sandbox-next: Implement ResetService for a persistent ledger.

* sandbox: Delete the comment heading StandaloneIndexerServer.

It's no longer meaningful.

* sandbox-next: No need to wrap the SandboxResetService in an owner.

* sandbox-next: Bump the ResetService test timeouts.

It looks like it's definitely slower than on Sandbox Classic™. Gonna
look into this as part of future work.

* Revert to previous asynchronous reset behavior

Co-authored-by: Gerolf Seitz <gerolf.seitz@digitalasset.com>
2020-03-04 14:40:35 +00:00
..
auth-utils update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
contextualized-logging Add logging context information to ledger services (#4205) 2020-01-24 18:28:08 +00:00
direct-execution-context Replace NamedLoggerFactory (#4097) 2020-01-21 10:57:28 +01:00
grpc-utils update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
ports libs-scala/ports: Wrap socket ports in a type, Port. (#4784) 2020-03-03 08:59:15 +00:00
postgresql-testing Avoid opening a server to the world when finding a free port. (#4683) 2020-02-25 13:09:28 +00:00
resources Sandbox-Next: Add the ResetService. (#4802) 2020-03-04 14:40:35 +00:00
resources-akka Resource refactorings (#4382) 2020-02-04 17:20:24 +00:00
timer-utils ledger-on-posix-filesystem: Fix the tests on CI. (#4166) 2020-01-22 18:02:23 +01:00