Skip to content

Commit cd89ddb

Browse files
Merge pull request #449 from SciML/qqy/fix_shooting
Fix CIs for Shooting methods
2 parents c31a6ec + 13e8ee0 commit cd89ddb

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

lib/BoundaryValueDiffEqShooting/test/basic_problems_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
for (i, solver) in enumerate(SOLVERS)
3939
sol = solve(
4040
bvp1, solver; abstol = 1.0e-8, reltol = 1.0e-8,
41-
odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-3), maxiters = 10000
41+
odesolve_kwargs = (; abstol = 1.0e-8, reltol = 1.0e-8), maxiters = 10000
4242
)
4343

4444
@test SciMLBase.successful_retcode(sol)
@@ -136,7 +136,7 @@ end
136136
for (i, solver) in enumerate(SOLVERS)
137137
sol = solve(
138138
bvp, solver; abstol = 1.0e-8, reltol = 1.0e-8,
139-
odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-3), maxiters = 10000
139+
odesolve_kwargs = (; abstol = 1.0e-8, reltol = 1.0e-8), maxiters = 10000
140140
)
141141

142142
@test SciMLBase.successful_retcode(sol)

lib/BoundaryValueDiffEqShooting/test/orbital_tests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
sol = solve(
7272
bvp, Shooting(DP5(); nlsolve, jac_alg); force_dtmin = true,
7373
abstol = 1.0e-6, reltol = 1.0e-6, verbose = false,
74-
odesolve_kwargs = (abstol = 1.0e-6, reltol = 1.0e-3)
74+
odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-6, adaptive = false, dt = 10000)
7575
)
7676

7777
@test SciMLBase.successful_retcode(sol)
@@ -80,7 +80,7 @@
8080
sol = solve(
8181
bvp, MultipleShooting(10, DP5(); nlsolve, jac_alg);
8282
force_dtmin = true, abstol = 1.0e-6, reltol = 1.0e-6,
83-
verbose = false, odesolve_kwargs = (abstol = 1.0e-6, reltol = 1.0e-3)
83+
verbose = false, odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-6, adaptive = false, dt = 10000)
8484
)
8585

8686
@test SciMLBase.successful_retcode(sol)
@@ -103,7 +103,7 @@
103103
sol = solve(
104104
bvp, Shooting(DP5(); nlsolve, jac_alg); force_dtmin = true,
105105
abstol = 1.0e-6, reltol = 1.0e-6, verbose = false,
106-
odesolve_kwargs = (abstol = 1.0e-6, reltol = 1.0e-3)
106+
odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-6, adaptive = false, dt = 10000)
107107
)
108108

109109
@test SciMLBase.successful_retcode(sol)
@@ -112,7 +112,7 @@
112112
sol = solve(
113113
bvp, MultipleShooting(10, DP5(); nlsolve, jac_alg);
114114
force_dtmin = true, abstol = 1.0e-6, reltol = 1.0e-6,
115-
verbose = false, odesolve_kwargs = (abstol = 1.0e-6, reltol = 1.0e-3)
115+
verbose = false, odesolve_kwargs = (; abstol = 1.0e-6, reltol = 1.0e-6, adaptive = false, dt = 10000)
116116
)
117117

118118
@test SciMLBase.successful_retcode(sol)

lib/BoundaryValueDiffEqShooting/test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ const RETESTITEMS_NWORKER_THREADS = parse(
2323

2424
ReTestItems.runtests(
2525
BoundaryValueDiffEqShooting; tags = (GROUP == "all" ? nothing : [Symbol(GROUP)]),
26-
nworkers = RETESTITEMS_NWORKERS, nworker_threads = RETESTITEMS_NWORKER_THREADS
26+
nworkers = RETESTITEMS_NWORKERS, nworker_threads = RETESTITEMS_NWORKER_THREADS,
27+
testitem_timeout = 5 * 60 * 60
2728
)

0 commit comments

Comments
 (0)