From 4e4fd453cff3b6c2ffb251a44b45fd1a7d939c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20B=C3=B6ker?= Date: Tue, 1 Nov 2022 21:31:21 +0100 Subject: [PATCH] OBS: Superseded tests should not block testsets from being finished --- lib/OBS.rakumod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OBS.rakumod b/lib/OBS.rakumod index ba31849..7d2a799 100644 --- a/lib/OBS.rakumod +++ b/lib/OBS.rakumod @@ -237,7 +237,8 @@ method process-worklist() is serial-dedup { if DB::CITest.^all.grep({ $_.platform-test-set.id == $running-pts.id && - $_.status ⊂ (DB::NOT_STARTED, DB::IN_PROGRESS) + $_.status ⊂ (DB::NOT_STARTED, DB::IN_PROGRESS) && + !$_.superseded }) == 0 && DateTime.now - $running-pts.obs-started-at >= config.obs-min-run-duration { debug "OBS: TestSet finished: " ~ $running-pts.id;