From a82347f5ce729c5a383308eb934d4f6bc926eeea Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Tue, 30 Jan 2018 16:04:25 -0800 Subject: [PATCH] Set default directories to /tmp Set the default directories in the client settings.py file to use /tmp. This will make it easier to automate testing by reducing the number of settings to configure. --- client/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/settings.py b/client/settings.py index a3d7239..8bee81a 100644 --- a/client/settings.py +++ b/client/settings.py @@ -3,10 +3,10 @@ import sys # global configuration GIT_URL = 'git@github.com:postgres/postgres.git' -REPOSITORY_PATH = '/home/user/tmp/git-postgres' -BUILD_PATH = '/home/user/tmp/bin-postgres' +REPOSITORY_PATH = '/tmp/git-postgres' +BUILD_PATH = '/tmp/bin-postgres' BIN_PATH = os.path.join(BUILD_PATH, 'bin') -DATADIR_PATH = '/home/user/tmp/data-postgres' +DATADIR_PATH = '/tmp/data-postgres' POSTGRES_CONFIG = {'shared_buffers': '1GB', 'work_mem': '64MB', @@ -22,7 +22,7 @@ POSTGRES_CONFIG = {'shared_buffers': '1GB', DATABASE_NAME = 'perf' -OUTPUT_DIR = '/home/user/tmp/perf-output' +OUTPUT_DIR = '/tmp/perf-output' # configuration for PgBench # -- 2.39.5