From 3266265f7ffd6217e6174b8b9c8c7f89c336c51b Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 16 Dec 2020 20:05:46 -0500 Subject: [PATCH] Update testnet sync test --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8ac738b4..0409b39df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,8 +51,10 @@ jobs: --boot-disk-type pd-ssd \ --container-image rust:buster \ --container-mount-disk mount-path='/mainnet',name="zebrad-cache-$SHORT_SHA-mainnet-419200" \ + --container-mount-disk mount-path='/testnet',name="zebrad-cache-$SHORT_SHA-testnet-280000" \ --container-restart-policy never \ --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-fbca3c7-mainnet-419200 \ + --create-disk name="zebrad-cache-$SHORT_SHA-testnet-280000",image=zebrad-cache-fbca3c7-testnet-280000 \ --machine-type n2-standard-4 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ @@ -68,6 +70,7 @@ jobs: docker build --build-arg SHORT_SHA=$SHORT_SHA -f docker/Dockerfile.test -t zebrad-test .; docker run -i zebrad-test cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored; docker run -i --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-mainnet-419200,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_sapling_mainnet --manifest-path zebrad/Cargo.toml sync_past_sapling_mainnet; + docker run -i --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-testnet-280000,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_sapling_testnet --manifest-path zebrad/Cargo.toml sync_past_sapling_testnet; " # Clean up - name: Delete test instance