From b6580e3755e8ae72f181ffcdff90ed6ff8c084e4 Mon Sep 17 00:00:00 2001 From: Brian Groenke <brian.groenke@awi.de> Date: Fri, 10 Dec 2021 13:39:50 +0100 Subject: [PATCH] Remove broken flag on allocs test for TimeSeriesForcing --- test/Physics/Boundaries/forcing_tests.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/Physics/Boundaries/forcing_tests.jl b/test/Physics/Boundaries/forcing_tests.jl index 4b136deb..917a6afa 100644 --- a/test/Physics/Boundaries/forcing_tests.jl +++ b/test/Physics/Boundaries/forcing_tests.jl @@ -16,9 +16,7 @@ using Test, BenchmarkTools @test forcing((Dates.datetime2epochms(t1) + Dates.datetime2epochms(t2))/2000.0) ≈ (y1+y2)/2 t = Dates.datetime2epochms(t1)/1000.0 benchres = @benchmark $forcing($t) - # This suddenly passes when run directly (in this file) but not when run as part of the test suite. - # Likely is a compiler bug or issue caused by recent update to a package (maybe BenchmarkTools?) - @test_broken benchres.allocs == 0 + @test benchres.allocs == 0 out = zeros(100) queries = t .+ (1:100); benchres = @benchmark $out .= $forcing.($queries) -- GitLab