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 1
1
#! /bin/bash
2
2
3
- # Usage:
3
+ # Usage - run commands from repo root :
4
4
# To check if new changes to the layer cause changes to any snapshots:
5
5
# BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec sandbox-account-admin -- ./scripts/run_integration_tests
6
6
# To regenerate snapshots:
@@ -37,7 +37,7 @@ if [ -n "$BUILD_LAYERS" ]; then
37
37
echo " Building layers that will be deployed with our test functions"
38
38
source $scripts_dir /build_layers.sh
39
39
else
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'"
41
41
fi
42
42
43
43
cd $integration_tests_dir
143
143
144
144
if [ " $mismatch_found " = true ]; then
145
145
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'"
147
147
exit 1
148
148
fi
149
149
You can’t perform that action at this time.
0 commit comments