Skip to content

Commit f93b67a

Browse files
committed
test: add retries to guard against segfaults
1 parent 271d64c commit f93b67a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/wrappers/rootfind_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@testitem "Steady State Problems" tags=[:wrappers] begin
1+
@testitem "Steady State Problems" tags=[:wrappers] retries=3 begin
22
import NLSolvers, NLsolve, SIAMFANLEquations, MINPACK, PETSc
33

44
function f_iip(du, u, p, t)
@@ -43,7 +43,7 @@
4343
end
4444
end
4545

46-
@testitem "Nonlinear Root Finding Problems" tags=[:wrappers] begin
46+
@testitem "Nonlinear Root Finding Problems" tags=[:wrappers] retries=3 begin
4747
using LinearAlgebra
4848
import NLSolvers, NLsolve, SIAMFANLEquations, MINPACK, PETSc
4949

@@ -163,7 +163,7 @@ end
163163
end
164164
end
165165

166-
@testitem "PETSc SNES Floating Points" tags=[:wrappers] skip=:(Sys.iswindows()) begin
166+
@testitem "PETSc SNES Floating Points" tags=[:wrappers] retries=3 skip=:(Sys.iswindows()) begin
167167
import PETSc
168168

169169
f(u, p) = u .* u .- 2

0 commit comments

Comments
 (0)