From 59c381d8cd5ae9cf1a59b8e1c5251599508f6429 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Wed, 15 Feb 2023 10:55:43 +0100 Subject: [PATCH] Skip flakky tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Both aim at checking performance, and might error out when the underlying system is “slow”. That was the case for the first test on arm64 (KO on arm-arm-01, OK on arm-ubc-03) and on armel (KO on arm-ubc-06, OK on arm-conova-02), and for the second test on mipsel (KO on mipsel-aql-02). The same might happen on ci.debian.net, so disable both tests everywhere. Gbp-Pq: Name 0013-skip-flakky-tests.patch --- pkg/apiserver/apic_test.go | 1 + pkg/time/rate/rate_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/apiserver/apic_test.go b/pkg/apiserver/apic_test.go index a06a750..3a97c79 100644 --- a/pkg/apiserver/apic_test.go +++ b/pkg/apiserver/apic_test.go @@ -699,6 +699,7 @@ func TestAPICPush(t *testing.T) { } func TestAPICSendMetrics(t *testing.T) { + t.Skip() tests := []struct { name string duration time.Duration diff --git a/pkg/time/rate/rate_test.go b/pkg/time/rate/rate_test.go index 6df9412..a212ce1 100644 --- a/pkg/time/rate/rate_test.go +++ b/pkg/time/rate/rate_test.go @@ -175,6 +175,7 @@ func TestSimultaneousRequests(t *testing.T) { } func TestLongRunningQPS(t *testing.T) { + t.Skip() if testing.Short() { t.Skip("skipping in short mode") } -- 2.30.2