From a2eb7d096876fdb4a11ee2cb3b6f3dd7f6162f57 Mon Sep 17 00:00:00 2001 From: Maru Newby Date: Tue, 27 Aug 2024 13:16:03 -0700 Subject: [PATCH] fixup: Use the correct end time --- tests/fixture/e2e/metrics_link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixture/e2e/metrics_link.go b/tests/fixture/e2e/metrics_link.go index 75258ea8f901..abbeac870f8e 100644 --- a/tests/fixture/e2e/metrics_link.go +++ b/tests/fixture/e2e/metrics_link.go @@ -44,7 +44,7 @@ var _ = ginkgo.AfterEach(func() { // Extend the end time by the shutdown delay (a proxy for the metrics // scrape interval) to maximize the chances of the specified duration // including all metrics relevant to the current spec. - endTime := specReport.StartTime.Add(networkShutdownDelay).UnixMilli() + endTime := specReport.EndTime.Add(networkShutdownDelay).UnixMilli() metricsLink := tmpnet.MetricsLinkForNetwork( env.GetNetwork().UUID, strconv.FormatInt(startTime, 10),