Skip to content

Commit

Permalink
fix run test to cat only in specific case
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 8, 2025
1 parent b013864 commit 69c393f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions migtests/scripts/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,13 @@ main() {
fi
fi

cat ${EXPORT_DIR}/data/hstore_example_data.sql
cat ${EXPORT_DIR}/data/schemas/source_db_exporter/hstore_example_schema.json
cat ${EXPORT_DIR}/logs/debezium-source_db_exporter.log
if [ "${TEST_DIR}" = "${TESTS_DIR}/pg/datatypes" ]; then
cat ${EXPORT_DIR}/data/hstore_example_data.sql
if [ "${BETA_FAST_DATA_EXPORT}" = "1" ]; then
cat ${EXPORT_DIR}/data/schemas/source_db_exporter/hstore_example_schema.json
cat ${EXPORT_DIR}/logs/debezium-source_db_exporter.log
fi
fi

step "Fix data."
if [ -x "${TEST_DIR}/fix-data" ]
Expand Down

0 comments on commit 69c393f

Please sign in to comment.