GNU bug report logs - #7704
[PATCH] tests: mv/i-3: avoid false-positive failure on a slow/busy system

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Wed, 22 Dec 2010 09:25:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: bug-coreutils <at> gnu.org
Subject: [PATCH] tests: mv/i-3: avoid false-positive failure on a slow/busy
	system
Date: Wed, 22 Dec 2010 10:31:17 +0100
FYI,

From a300cfd43ccb3f48f5110a2abf6fe234fece3dc3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Wed, 22 Dec 2010 10:29:30 +0100
Subject: [PATCH] tests: mv/i-3: avoid false-positive failure on a slow/busy system

* tests/mv/i-3: Quadruple the timeout duration.
Without this, I saw an expired timeout on a heavily-loaded system.
---
 tests/mv/i-3 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/mv/i-3 b/tests/mv/i-3
index 983aad9..7b77273 100755
--- a/tests/mv/i-3
+++ b/tests/mv/i-3
@@ -48,7 +48,7 @@ check_overwrite_prompt()
     *) sleep $delay; return 1;;
   esac
 }
-retry_delay_ check_overwrite_prompt .1 5 || fail=1
+retry_delay_ check_overwrite_prompt .1 7 || fail=1

 kill $pid

--
1.7.3.3




This bug report was last modified 14 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.