Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/rumpkern Skip a few tests with reference to alrea...



details:   https://anonhg.NetBSD.org/src/rev/89a7a722006a
branches:  trunk
changeset: 937911:89a7a722006a
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 28 19:14:17 2020 +0000

description:
Skip a few tests with reference to already existing PRs as after "recent"
scheduler changes these tests now leave rump_server processes around that
eat CPU and disturb later tests.

diffstat:

 tests/rump/rumpkern/t_sp.sh |  21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 40839603cb7c -r 89a7a722006a tests/rump/rumpkern/t_sp.sh
--- a/tests/rump/rumpkern/t_sp.sh       Fri Aug 28 19:14:07 2020 +0000
+++ b/tests/rump/rumpkern/t_sp.sh       Fri Aug 28 19:14:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_sp.sh,v 1.14 2019/05/13 17:55:09 bad Exp $
+#      $NetBSD: t_sp.sh,v 1.15 2020/08/28 19:14:17 martin Exp $
 #
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -40,16 +40,29 @@
         }"
 }
 
+test_case_skip()
+{
+       local name="${1}"; shift
+       local pr="${1}"; shift
+
+       atf_test_case "${name}"
+       eval "${name}_head() {  }"
+       eval "${name}_body() { atf_skip "'"'"PR ${pr}: leftover rump_server"'"'"; }"
+}
+
 test_case basic basic
 test_case stress_short stress 1
-test_case stress_long stress 2
-test_case stress_killer stress 5 kill
+# test_case stress_long stress 2
+test_case_skip stress_long 50350
+# test_case stress_killer stress 5 kill
+test_case_skip stress_killer 55356
 test_case fork_simple fork simple
 test_case fork_pipecomm fork pipecomm
 test_case fork_fakeauth fork fakeauth
 test_case sigsafe sigsafe sigsafe
 test_case signal signal
-test_case reconnect reconnect
+# test_case reconnect reconnect
+test_case_skip reconnect 55304
 
 basic()
 {



Home | Main Index | Thread Index | Old Index