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),