Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 482232d

Browse files
authored
Merge branch 'master' into spaces_in_params
2 parents 842d495 + 9761f98 commit 482232d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Description
44
===
55
Nancy helps to conduct automated database experiments.
66

7-
The Nancy Command Line Interface is a unified way to manage database
8-
experiments.
7+
The Nancy Command Line Interface is a unified way to manage automated
8+
database experiments either in clouds or on-premise.
99

1010
Experiments are needed every time you:
1111
- add or remove indexes;

nancy_run.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ function checkParams() {
383383
checkPath PG_CONFIG
384384
if [ "$?" -ne "0" ]; then
385385
#>&2 echo "WARNING: Value given as pg_config: '$PG_CONFIG' not found as file will use as content"
386-
echo "$PG_CONFIG" > $TMP_PATH/pg_congif_tmp.sql
387-
WORKLOAD_CUSTOM_SQL="$TMP_PATH/pg_congif_tmp.sql"
386+
echo "$PG_CONFIG" > $TMP_PATH/pg_config_tmp.sql
387+
WORKLOAD_CUSTOM_SQL="$TMP_PATH/pg_config_tmp.sql"
388388
fi
389389
fi
390390

@@ -661,7 +661,7 @@ then
661661
if [[ $AFTER_DB_INIT_CODE =~ "s3://" ]]; then
662662
docker_exec s3cmd sync $AFTER_DB_INIT_CODE $MACHINE_HOME/
663663
else
664-
docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE:/home/ubuntu
664+
docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE:/home/ubuntu/nancy_$containerHash
665665
fi
666666
docker_exec bash -c "psql -U postgres test -E -f $MACHINE_HOME/$AFTER_DB_INIT_CODE_FILENAME"
667667
fi
@@ -747,7 +747,8 @@ if ([ ! -z ${TARGET_DDL_UNDO+x} ] && [ "$TARGET_DDL_UNDO" != "" ]); then
747747
fi
748748

749749
echo -e "Run done!"
750-
echo -e "Result log: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json"
750+
echo -e "Report: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json"
751+
echo -e "Query log: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.log.gz"
751752
echo -e "-------------------------------------------"
752753
echo -e "Summary:"
753754
echo -e " Queries number:\t\t" $(cat $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json | jq '.overall_stat.queries_number')

0 commit comments

Comments
 (0)