Skip to content

Commit dd0f95e

Browse files
Fix some leaky test issues (#2231)
1 parent d90d159 commit dd0f95e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/Operators/spectralelement/covar_deriv_ops.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ zlim = (FT(0), FT(1))
2525
helem = 5
2626
velem = 5
2727
npoly = 5
28-
ndims = 3
2928
stretch = Meshes.Uniform()
3029
comms_context = ClimaComms.SingletonCommsContext(device)
3130
FT = eltype(xlim)

test/Spaces/unit_dss.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function test_dss_count(f::Fields.Field, buff::Topologies.DSSBuffer, nc)
5353
return (; n_dss_affected)
5454
end
5555

56-
function get_space_and_buffers(::Type{FT}; context) where {FT}
56+
function get_space_and_buffers3(::Type{FT}; context) where {FT}
5757
init_state_covariant12(local_geometry, p) =
5858
Geometry.Covariant12Vector(1.0, -1.0)
5959
init_state_covariant123(local_geometry, p) =
@@ -102,7 +102,7 @@ end
102102
@testset "DSS of AxisTensors on Cubed Sphere" begin
103103
FT = Float64
104104
device = ClimaComms.device()
105-
nt = get_space_and_buffers(FT; context = ClimaComms.context(device))
105+
nt = get_space_and_buffers3(FT; context = ClimaComms.context(device))
106106

107107
# test DSS for a Covariant12Vector
108108
# ensure physical velocity is continuous across SE boundary for initial state

0 commit comments

Comments
 (0)