File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Usage:
3+ # Usage - run commands from repo root :
44# To check if new changes to the layer cause changes to any snapshots:
55# BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec sandbox-account-admin -- ./scripts/run_integration_tests
66# To regenerate snapshots:
@@ -37,7 +37,7 @@ if [ -n "$BUILD_LAYERS" ]; then
3737 echo " Building layers that will be deployed with our test functions"
3838 source $scripts_dir /build_layers.sh
3939else
40- echo " Not building layers, ensure they've already been built or re-run with 'REBUILD_LAYERS=true ./scripts/run_integration_tests.sh'"
40+ echo " Not building layers, ensure they've already been built or re-run with 'REBUILD_LAYERS=true DD_API_KEY=XXXX ./scripts/run_integration_tests.sh'"
4141fi
4242
4343cd $integration_tests_dir
143143
144144if [ " $mismatch_found " = true ]; then
145145 echo " FAILURE: A mismatch between new data and a snapshot was found and printed above."
146- echo " If the change is expected, generate new snapshots by running 'UPDATE_SNAPSHOTS=true ./scripts/run_integration_tests.sh'"
146+ echo " If the change is expected, generate new snapshots by running 'UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX ./scripts/run_integration_tests.sh'"
147147 exit 1
148148fi
149149
You can’t perform that action at this time.
0 commit comments