mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
6bf0996bf1
* Add basic Sandbox data continuity tests This adds some basic tests that check that data migrations work properly. For now, I use DAML Script to create and query contracts at each step. This isn’t perfect since queries can only use the active contract service but not things like the transaction stream but it’s clearly better than nothing. The runner for executing the tests is a simple Haskell executable. It didn’t really seem useful to throw tasty at this. I’ve added two sets of tests, one that runs only through stable versions and one that includes snapshots since migrating through snapshots is not necessarily equivalent. Sadly these tests use sandbox-classic since I discovered while writing these tests that sandbox-next does not actually support migrating data between SDK versions. changelog_begin changelog_end * Use the sandbox module instead of a custom withSandbox changelog_begin changelog_end * Update compatibility/sandbox-migration/SandboxMigrationRunner.hs Co-authored-by: Andreas Herrmann <42969706+aherrmann-da@users.noreply.github.com> Co-authored-by: Andreas Herrmann <42969706+aherrmann-da@users.noreply.github.com> |
||
---|---|---|
.. | ||
BUILD.bazel | ||
Main.hs | ||
openssl-extensions.cnf | ||
Sandbox.hs |