summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/glusterd')
-rw-r--r--tests/functional/glusterd/test_default_ping_timer_and_epoll_thread_count.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/functional/glusterd/test_default_ping_timer_and_epoll_thread_count.py b/tests/functional/glusterd/test_default_ping_timer_and_epoll_thread_count.py
index 4127213b0..4ffe047d3 100644
--- a/tests/functional/glusterd/test_default_ping_timer_and_epoll_thread_count.py
+++ b/tests/functional/glusterd/test_default_ping_timer_and_epoll_thread_count.py
@@ -57,16 +57,16 @@ class TestPingTimerAndEpollThreadCountDefaultValue(GlusterBaseClass):
# Shell Script to be run for epoll thread count
script = """
- #!/bin/bash
- function nepoll ()
- {
- local pid=$1;
- for i in $(ls /proc/$pid/task);
- do
- cat /proc/$pid/task/$i/stack | grep epoll_wait;
- done
- }
- """
+ #!/bin/bash
+ function nepoll ()
+ {
+ local pid=$1;
+ for i in $(ls /proc/$pid/task);
+ do
+ cat /proc/$pid/task/$i/stack | grep -i 'sys_epoll_wait';
+ done
+ }
+ """
# Execute the shell script
cmd = "echo '{}' > test.sh;".format(script)