1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Anthony Fok <foka@debian.org>
Date: Wed, 24 Sep 2025 22:13:54 +0200
Subject: Skip TestPara/Time for Debian infrastructure
TestPara/Time fails too often on riscv64 buildd, on reproducible-builds etc.
probably due to these build daemons being fully loaded.
Origin: vendor
Forwarded: not-needed
Last-Update: 2021-10-19
---
common/para/para_test.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/para/para_test.go b/common/para/para_test.go
index cf24a4e..50e6453 100644
--- a/common/para/para_test.go
+++ b/common/para/para_test.go
@@ -91,6 +91,9 @@ func TestPara(t *testing.T) {
since := time.Since(start)
limit := n / 2 * time.Millisecond
+ if !(since < limit) {
+ c.Skipf("TestPara/Time failed with %s >= %s, skipping", since, limit)
+ }
c.Assert(since < limit, qt.Equals, true, qt.Commentf("%s >= %s", since, limit))
})
}
|