Skip to content

Commit

Permalink
Extend a few test timeouts
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
euloh authored and kvanhees committed Apr 20, 2022
1 parent 9cd13c7 commit c92966d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/unittest/actions/exit/tst.kill.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Oracle Linux DTrace.
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2022, 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.
#
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/unittest/dtrace-util/tst.ListProbesNameEmpty.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
#
# Oracle Linux DTrace.
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2022, 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

##
#
Expand Down
4 changes: 2 additions & 2 deletions test/unittest/providers/tst.dtrace_cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Oracle Linux DTrace.
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2022, 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.

Expand All @@ -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
Expand Down

0 comments on commit c92966d

Please sign in to comment.