summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-05-15 09:22:26 +0530
committerAmar Tumballi <amarts@redhat.com>2018-05-31 04:27:26 +0000
commitf1f2bfd7c966c6d1efc5c0397caf056cd38ddbbc (patch)
tree59a46b6940d64ab16d3b5c290edabae0a3eeeaa4 /tests
parent430e4872db43447c8a15b638760d23c188257139 (diff)
glusterd: address test failures with brick mux enabled
This patch addresses following: 1. On volume stop, for the last brick, pmap_registry_remove () is invoked by glusterd. 2. If a brick process is sigkilled, remove all the associated brick instances from the portmap. 3. Bump up PROCESS_UP_TIMEOUT to 45. 4. gf_attach to kill a brick takes more time in mux (which is an issue that needs a fix), but in the interim, give br-state-check.t more time to complete (there are 2 kill_bricks, each taking 120 seconds, and the test usually passes in 30 odd seconds, hence bumping this up to 350 seconds) 5. The test bug-1559004-EMLINK-handling.t is taking ~950 seconds at times on master without mux, in mux cases, when it fails, it is almost at the last iteration, hence bumping the timeout for this test case to reduce regression error rates Updates: bz#1577672 Change-Id: I1922675e112baca4c125c4c094eaa42a11e34e67 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bitrot/br-state-check.t1
-rw-r--r--tests/bugs/index/bug-1559004-EMLINK-handling.t2
-rw-r--r--tests/include.rc2
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/bitrot/br-state-check.t b/tests/bitrot/br-state-check.t
index e165462cfcd..2142275699e 100644
--- a/tests/bitrot/br-state-check.t
+++ b/tests/bitrot/br-state-check.t
@@ -5,6 +5,7 @@
. $(dirname $0)/../nfs.rc
cleanup;
+SCRIPT_TIMEOUT=350
TEST glusterd
TEST pidof glusterd
diff --git a/tests/bugs/index/bug-1559004-EMLINK-handling.t b/tests/bugs/index/bug-1559004-EMLINK-handling.t
index 9aff93a367f..82ea8b2d36a 100644
--- a/tests/bugs/index/bug-1559004-EMLINK-handling.t
+++ b/tests/bugs/index/bug-1559004-EMLINK-handling.t
@@ -6,7 +6,7 @@
cleanup
TESTS_EXPECTED_IN_LOOP=30
-SCRIPT_TIMEOUT=1000
+SCRIPT_TIMEOUT=1200
TEST glusterd
TEST pidof glusterd
diff --git a/tests/include.rc b/tests/include.rc
index 5a99e027df8..5692754563a 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -71,7 +71,7 @@ esac
DEBUG=${DEBUG:=0} # turn on debugging?
PROCESS_DOWN_TIMEOUT=5
-PROCESS_UP_TIMEOUT=30
+PROCESS_UP_TIMEOUT=45
NFS_EXPORT_TIMEOUT=20
CHILD_UP_TIMEOUT=20
PROBE_TIMEOUT=60