2021-03-15 15:27:30 -07:00
|
|
|
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
# We allow for failures in this step. Usually you'll be invoking this
|
|
|
|
# script to fix a build failure.
|
|
|
|
pytest --basetemp=tmp || true
|
|
|
|
|
|
|
|
# Update the golden files.
|
2021-04-23 00:18:39 -07:00
|
|
|
cp tmp/test_serde_to_json_tests_unit_0/output.json tests/unit/serde/test_serde_large.json
|
|
|
|
cp tmp/test_serde_to_json_tests_unit_1/output.json tests/unit/serde/test_serde_chart_snapshot.json
|
2021-03-15 15:27:30 -07:00
|
|
|
cp tmp/test_ldap_ingest0/ldap_mces.json tests/integration/ldap/ldap_mce_golden.json
|
|
|
|
cp tmp/test_mysql_ingest0/mysql_mces.json tests/integration/mysql/mysql_mce_golden.json
|
|
|
|
cp tmp/test_mssql_ingest0/mssql_mces.json tests/integration/sql_server/mssql_mce_golden.json
|
2021-03-23 20:15:44 -07:00
|
|
|
cp tmp/test_mongodb_ingest0/mongodb_mces.json tests/integration/mongodb/mongodb_mce_golden.json
|
2021-06-09 15:07:04 -07:00
|
|
|
cp tmp/test_feast_ingest0/feast_mces.json tests/integration/feast/feast_mce_golden.json
|
2021-03-15 15:27:30 -07:00
|
|
|
|
|
|
|
# Print success message.
|
|
|
|
set +x
|
|
|
|
echo ''
|
|
|
|
echo 'Make sure to check `git diff` to verify the changes!'
|