summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2015-09-01 11:24:09 +0530
committerVenky Shankar <vshankar@redhat.com>2015-11-27 03:54:20 -0800
commit7de27f1445ffa7b60a5d8092681267531f50395e (patch)
tree274836c72e0fb37b3630411e1d4e3bc32f073120 /tests
parentcdb7b58b5036e4d7e0ed1906c55338723a4109e8 (diff)
tests: Increase sleep timing for geo-rep
Increase sleep timing to let the data sync. NOTE: The corresponding master branch's patch http://review.gluster.org/12072 also removes geo-rep tests from bad tests. That is not done here as the configuration of regression machines is yet to be fixed for geo-rep. BUG: 1284746 Change-Id: I9aa993e80a5ed706b37ebb15f61da14da48e4b72 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/12072 Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-on: http://review.gluster.org/12728 Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com> Reviewed-by: Milind Changire <mchangir@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/geo-rep/georep-basic-dr-rsync.t6
-rw-r--r--tests/geo-rep/georep-basic-dr-tarssh.t8
2 files changed, 8 insertions, 6 deletions
diff --git a/tests/geo-rep/georep-basic-dr-rsync.t b/tests/geo-rep/georep-basic-dr-rsync.t
index 4c1885b78b2..bcb31d90c9e 100644
--- a/tests/geo-rep/georep-basic-dr-rsync.t
+++ b/tests/geo-rep/georep-basic-dr-rsync.t
@@ -65,7 +65,7 @@ EXPECT 2 check_status_num_rows "Active"
EXPECT 2 check_status_num_rows "Passive"
#DATA_TESTS HYBRID
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/hybrid_f1 #20
TEST directory_ok ${slave_mnt}/$hybrid_d1
TEST rename_ok ${slave_mnt}/hybrid_f3 ${slave_mnt}/hybrid_f4
@@ -88,7 +88,7 @@ EXPECT 2 check_status_num_rows "Passive"
#data_tests "history"
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/history_f1
TEST directory_ok ${slave_mnt}/history_d1 #35
TEST rename_ok ${slave_mnt}/history_f3 ${slave_mnt}/history_f4
@@ -105,7 +105,7 @@ sleep 15
TEST check_status "Changelog Crawl"
#data_tests "changelog"
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/changelog_f1 #45
TEST directory_ok ${slave_mnt}/changelog_d1
TEST rename_ok ${slave_mnt}/changelog_f3 ${slave_mnt}/changelog_f4
diff --git a/tests/geo-rep/georep-basic-dr-tarssh.t b/tests/geo-rep/georep-basic-dr-tarssh.t
index ccf688c2701..2985b2e5de0 100644
--- a/tests/geo-rep/georep-basic-dr-tarssh.t
+++ b/tests/geo-rep/georep-basic-dr-tarssh.t
@@ -70,7 +70,7 @@ EXPECT 2 check_status_num_rows "Active"
EXPECT 2 check_status_num_rows "Passive" #20
#DATA_TESTS HYBRID
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/hybrid_f1
TEST directory_ok ${slave_mnt}/$hybrid_d1
TEST rename_ok ${slave_mnt}/hybrid_f3 ${slave_mnt}/hybrid_f4
@@ -88,8 +88,9 @@ TEST $GEOREP_CLI $master $slave start
sleep 10
EXPECT 2 check_status_num_rows "Active"
EXPECT 2 check_status_num_rows "Passive"
+
#data_tests "history"
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/history_f1 #35
TEST directory_ok ${slave_mnt}/history_d1
TEST rename_ok ${slave_mnt}/history_f3 ${slave_mnt}/history_f4
@@ -104,8 +105,9 @@ TEST data_ok ${slave_mnt}/history_f1 "HelloWorld!"
TEST create_data "changelog"
sleep 15
TEST check_status "Changelog Crawl" #45
+
#data_tests "changelog"
-sleep 10
+sleep 15
TEST regular_file_ok ${slave_mnt}/changelog_f1
TEST directory_ok ${slave_mnt}/changelog_d1
TEST rename_ok ${slave_mnt}/changelog_f3 ${slave_mnt}/changelog_f4