Revert "test: add test case for systemd-update-utmp vs daemon-reexec"
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 26 May 2023 19:41:43 +0000 (21:41 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 May 2023 22:57:20 +0000 (07:57 +0900)
Temporarily revert the test case for #27167, as the additional
daemon-reexecs exacerbate #27287, making CIs fail quite often.
As the #27167 is also covered by TEST-01-BASIC itself, since we do
daemon-reexec there anyway, we shouldn't lose any coverage, but it
should make CIs more stable until #27287 is figured out.

Resolves (or more like works around): #27807

This reverts commit d689f70a2c18666bbf6500df7a53962a8f3e91a4.

test/units/testsuite-01.sh

index 475eaa2923df5195ec17f6ab76abeefcd611a079..91dd47ca145717d2612746507b62376a7aab7a0f 100755 (executable)
@@ -44,17 +44,4 @@ systemctl daemon-reload
 # of systemd-analyze blame. See issue #27187.
 systemd-analyze blame
 
-# Test for 'systemd-update-utmp runlevel' vs 'systemctl daemon-reexec'.
-# See issue #27163.
-# shellcheck disable=SC2034
-for _ in {0..10}; do
-    systemctl daemon-reexec &
-    pid_reexec=$!
-    # shellcheck disable=SC2034
-    for _ in {0..10}; do
-        SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/systemd-update-utmp runlevel
-    done
-    wait "$pid_reexec"
-done
-
 echo OK >/testok