Skip to content

Commit d43e18d

Browse files
committed
fix: Remove test expansions that cause failures
After running the full test suite, discovered that the new test additions were causing 48 test failures due to parameter conflicts and missing golden files: 1. Riemann solvers 3 (Exact) and 4 (HLLD) have constraints: - Solver 3 doesn't support wave_speeds parameter - Solver 4 only works with MHD simulations 2. New test functions (time_integrators, cfl_modes, model_equations, grid_stretching) were failing due to: - Missing golden reference files - Parameter conflicts with existing test infrastructure - Non-zero exit codes that don't help code coverage Reverted to original test suite (459 tests) to maintain CI stability. The Riemann solver expansion (3, 4) is also removed. Future work: These test expansions need proper validation and golden file generation before they can be safely added.
1 parent 88a4bdc commit d43e18d

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

toolchain/mfc/test/cases.py

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -187,37 +187,11 @@ def alter_muscl():
187187
cases.append(define_case_d(stack, f"muscl_lim={muscl_lim}", {'muscl_lim': muscl_lim}))
188188
stack.pop()
189189

190-
def alter_time_integrators():
191-
# Test different Runge-Kutta time integrators
192-
# time_stepper: 1=Euler, 2=RK2, 3=RK3 (default), 4=RK4, 5=RK5, 23=TVD-RK3
193-
for time_stepper in [1, 2, 4, 5, 23]:
194-
cases.append(define_case_d(stack, f"time_stepper={time_stepper}",
195-
{'time_stepper': time_stepper, 't_step_stop': 5}))
196-
197-
def alter_cfl_modes():
198-
# Test CFL adaptation and constant CFL modes
199-
cases.append(define_case_d(stack, "cfl_adap_dt=T",
200-
{'cfl_adap_dt': 'T', 'cfl_target': 0.5, 't_step_stop': 10}))
201-
cases.append(define_case_d(stack, "cfl_const_dt=T",
202-
{'cfl_const_dt': 'T', 'cfl_target': 0.3, 't_step_stop': 10}))
203-
204-
def alter_model_equations():
205-
# Test different model equation formulations
206-
# 1=gamma model, 2=pi-gamma model, 3=5-equation model
207-
for model_eqns in [1, 2, 3]:
208-
cases.append(define_case_d(stack, f"model_eqns={model_eqns}",
209-
{'model_eqns': model_eqns}))
210-
211-
def alter_grid_stretching():
212-
# Test grid stretching options (for non-uniform grids)
213-
cases.append(define_case_d(stack, "x_stretch=T",
214-
{'x_stretch': 'T', 'a_x': 1.5, 'x_a': -1.0, 'x_b': 1.0}))
215-
cases.append(define_case_d(stack, "loops_x=2",
216-
{'loops_x': 2}))
217190

218191
def alter_riemann_solvers(num_fluids):
219-
# Expanded to test all Riemann solvers: 1=HLL, 2=HLLC, 3=?, 4=HLLD, 5=Viscous
220-
for riemann_solver in [1, 5, 2, 3, 4]:
192+
# Test Riemann solvers: 1=HLL, 2=HLLC, 5=Viscous
193+
# Note: Solver 3 (Exact) has parameter constraints, Solver 4 (HLLD) requires MHD
194+
for riemann_solver in [1, 5, 2]:
221195
stack.push(f"riemann_solver={riemann_solver}", {'riemann_solver': riemann_solver})
222196

223197
cases.append(define_case_d(stack, "mixture_err", {'mixture_err': 'T'}))
@@ -1004,10 +978,6 @@ def foreach_dimension():
1004978
alter_grcbc(dimInfo)
1005979
alter_weno(dimInfo)
1006980
alter_muscl()
1007-
alter_time_integrators()
1008-
alter_cfl_modes()
1009-
alter_model_equations()
1010-
alter_grid_stretching()
1011981
alter_num_fluids(dimInfo)
1012982
if len(dimInfo[0]) == 2:
1013983
alter_2d()

0 commit comments

Comments
 (0)