[DTrace-devel] [PATCH] Extend a few test timeouts

eugene.loh at oracle.com eugene.loh at oracle.com
Fri Jun 18 11:44:32 PDT 2021


From: Eugene Loh <eugene.loh at oracle.com>

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 test/unittest/actions/exit/tst.kill.sh               | 4 ++--
 test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh | 4 ++--
 test/unittest/providers/tst.dtrace_cleanup.sh        | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/unittest/actions/exit/tst.kill.sh b/test/unittest/actions/exit/tst.kill.sh
index 86080c14..26e2309f 100755
--- a/test/unittest/actions/exit/tst.kill.sh
+++ b/test/unittest/actions/exit/tst.kill.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # Oracle Linux DTrace.
-# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
 # Licensed under the Universal Permissive License v 1.0 as shown at
 # http://oss.oracle.com/licenses/upl.
 #
@@ -10,7 +10,7 @@ dtrace=$1
 out=$tmpdir/output.$$
 
 watch_output_for() {
-    for iter in 1 2 3 4 5 6; do
+    for iter in `seq 10`; do
         sleep 1
         if grep -q $1 $out; then
             iter=0
diff --git a/test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh b/test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh
index 0e7c7b11..5a6ec4e1 100755
--- a/test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh
+++ b/test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh
@@ -1,12 +1,12 @@
 #!/bin/bash
 #
 # Oracle Linux DTrace.
-# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved.
 # Licensed under the Universal Permissive License v 1.0 as shown at
 # http://oss.oracle.com/licenses/upl.
 #
 
-# @@timeout: 80
+# @@timeout: 160
 
 ##
 #
diff --git a/test/unittest/providers/tst.dtrace_cleanup.sh b/test/unittest/providers/tst.dtrace_cleanup.sh
index 98e1885d..f53ec210 100755
--- a/test/unittest/providers/tst.dtrace_cleanup.sh
+++ b/test/unittest/providers/tst.dtrace_cleanup.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # Oracle Linux DTrace.
-# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
 # Licensed under the Universal Permissive License v 1.0 as shown at
 # http://oss.oracle.com/licenses/upl.
 
@@ -20,7 +20,7 @@ out=/tmp/output.$$
 $dtrace $dt_flags -n BEGIN,END &>> $out &
 pid=$!
 
-for iter in 1 2 3 4 5 6; do
+for iter in `seq 10`; do
     sleep 1
     if grep -q :BEGIN $out; then
         iter=0
-- 
2.27.0




More information about the DTrace-devel mailing list