corda/testing
Jonathan Locke e562c5828b
INFRA-604: Switch tests to use database snapshots (#6671)
Created a database snapshot of a clean Corda OS 4.5.1 database, which can now be used for testing by both the node driver and mock network.

The MockNetwork was changed from using an in memory database to using an on disk database, and makes use of the snapshot to speed up setup times.

The Node Driver was changed from defaulting to an in-memory database to defaulting to an on-disk database. Tests that do not specify the type of database to use will thus use an on-disk database. Tests that opt in for an in-memory database will continue to use an in-memory database as before.

The database snapshots are copied to the node directory inside the build folder, therefore, they should be cleaned up after a build.

Co-authored-by: Ross Nicoll <ross.nicoll@r3.com>
2020-09-03 14:43:55 +01:00
..
cordapps/dbfailure CORDA-3644: Add Corda-Testing tag to test artifacts' MANIFEST.MF. (#6032) 2020-03-05 17:39:55 +00:00
core-test-utils Merge branch 'release/os/4.6' into os_4.6-feature_pass_in_client_id_when_starting_a_flow-merge 2020-07-30 10:34:03 +01:00
node-driver INFRA-604: Switch tests to use database snapshots (#6671) 2020-09-03 14:43:55 +01:00
smoke-test-utils NOTICK fix smoke tests and slow integration tests (#6422) 2020-07-09 15:13:20 +01:00
test-cli CORDA-3644: Add Corda-Testing tag to test artifacts' MANIFEST.MF. (#6032) 2020-03-05 17:39:55 +00:00
test-common CORDA-3845: Update BC, log4j, slf4j (#6464) 2020-07-23 16:37:29 +01:00
test-db CORDA-3845: Update BC, log4j, slf4j (#6464) 2020-07-23 16:37:29 +01:00
test-utils INFRA-424: Merge openj9 updates into 4.6 (#6683) 2020-09-02 14:35:30 +01:00
testserver NOTICK: Fix some Gradle technical debt. (#6430) 2020-07-07 09:08:58 +01:00
Dockerfile Webook test branch (#5528) 2019-10-08 16:33:24 +02:00
DockerfileBase use zulu for jdk in testing image (#5583) 2019-10-14 13:35:22 +01:00
DockerfileJDK11Azul INFRA-357 Publish build tag (#6375) 2020-06-20 11:08:52 +01:00