diff --git a/cime_config/runseq/driver_config.py b/cime_config/runseq/driver_config.py index 7b8756e1..48dca7ba 100644 --- a/cime_config/runseq/driver_config.py +++ b/cime_config/runseq/driver_config.py @@ -79,10 +79,12 @@ def __compute_glc(self, case, coupling_times): glc_coupling_time = 86400 elif (comp_glc == 'dglc'): glc_coupling_time = coupling_times["glc_cpl_dt"] - stop_option = case.get_value('STOP_OPTION') - stop_n = case.get_value('STOP_N') - if stop_option == 'nsteps': - glc_coupling_time = stop_n*coupling_times["atm_cpl_dt"] + is_test = case.get_value("TEST") + if not is_test: + stop_option = case.get_value('STOP_OPTION') + if stop_option == 'nsteps': + stop_n = case.get_value('STOP_N') + glc_coupling_time = stop_n*coupling_times["atm_cpl_dt"] elif (comp_glc == 'xglc'): glc_coupling_time = coupling_times["glc_cpl_dt"] else: