mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
test: use the supported systemd kill-who option in WSL qualification
This commit is contained in:
1 parent
cf019bfb3f
commit
99781fe337
1 file changed
+1
-1
@@ -105,7 +105,7 @@ func TestSystemdExpiredStartupExits75ThenRegrantServes(t *testing.T) {
|
||||
if err != nil || before.Gen == 0 {
|
||||
t.Fatalf("bootstrap HEAD: %+v %v", before, err)
|
||||
}
|
||||
gap1Systemctl(t, "kill", "--signal=KILL", "--kill-whom=main", bootstrap)
|
||||
gap1Systemctl(t, "kill", "--signal=KILL", "--kill-who=main", bootstrap)
|
||||
waitGAP1(t, "bootstrap still running", 10*time.Second, func() bool { return gap1Unit(t, bootstrap)["MainPID"] == "0" })
|
||||
// QueryWorkspace is read-only. These real binaries and this test share
|
||||
// one WSL kernel wall clock. Use the reported MASTER expiry timestamp,
|
||||
|
||||
Reference in new issue
Block a user