diff options
author | Vijaykumar Koppad <vkoppad@redhat.com> | 2014-06-13 17:52:30 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-13 10:01:49 +0000 |
commit | b5d7faa96b5ca44be6899c6976691e0fde7d70d1 (patch) | |
tree | e2fedcbfdcd0f55afe27f39c65e0c78c796dd34c /tests/geo-rep/geo-rep-config.rc | |
parent | 5cb5d7029216ce71b19fd798a86ef4c384262ba9 (diff) | |
download | glusterfs-b5d7faa96b5ca44be6899c6976691e0fde7d70d1.tar.gz glusterfs-b5d7faa96b5ca44be6899c6976691e0fde7d70d1.tar.xz glusterfs-b5d7faa96b5ca44be6899c6976691e0fde7d70d1.zip |
Geo-rep: Adding regression tests for geo-rep
This patch introduces upstream regression suit for geo-replication
* Modifies cleanup (tests/include.rc) to remove everything but
hook-scripts.
Prerequisites:
* Passwordless SSH from root to root of current host.
* Export /build/install/sbin and /build/install/bin to PATH
variable for root user.
Change-Id: I433dd8bbb17edba9baaf516fe0dce3133ba39184
BUG: 1101111
Signed-off-by: Vijaykumar Koppad <vkoppad@redhat.com>
Signed-off-by: Ajeet Jha <ajha@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/7392
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/geo-rep/geo-rep-config.rc')
-rw-r--r-- | tests/geo-rep/geo-rep-config.rc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/geo-rep/geo-rep-config.rc b/tests/geo-rep/geo-rep-config.rc new file mode 100644 index 0000000000..5348908257 --- /dev/null +++ b/tests/geo-rep/geo-rep-config.rc @@ -0,0 +1,14 @@ +#!/bin/bash + +#LOG_DIR="$DEFAULT_LOG_FILE_DIRECTORY/glusterfs/geo-rep-auto-logs" +LOG_DIR="/usr/local/var/log/geo-rep-auto-logs" +LOG_FILE="$LOG_DIR/geo-rep-auto.log.`date +%Y%m%d-%H%M%S`" +FILE_TYPE="text" # it can text, sparse or tar +nf="5" # number of files in each directory when DIR_STR is MULTI +ns="500" # number of files when DIR_STR is SINGLE +DIR_STR="MULTI" # It can be either SINGLE or MULTI + +# Not using this option for now, can be used in the future. +SYNC_MODE="rsync" # this option can take another option "tarssh" + +mkdir -p $LOG_DIR |