Skip to content

Commit f98380d

Browse files
committed
fix: specify fast diagnostics in smoke test solve
Align with climate-ref's smoke test by specifying --diagnostic flags for global-mean-timeseries, annual-cycle, and gpp-wecann instead of letting the solver pick arbitrary (potentially slow) diagnostics.
1 parent 2b5d4dd commit f98380d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/smoke-test.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,11 @@ else
7474
exit 1
7575
fi
7676

77-
# Run a simple solve
78-
if docker compose -f "$COMPOSE_FILE" run --rm climate-ref -v solve --timeout 180 --one-per-provider; then
77+
# Run a simple solve with a fixed set of fast diagnostics to keep times predictable
78+
if docker compose -f "$COMPOSE_FILE" run --rm climate-ref -v solve --timeout 180 --one-per-provider \
79+
--diagnostic global-mean-timeseries \
80+
--diagnostic annual-cycle \
81+
--diagnostic gpp-wecann; then
7982
echo -e "${GREEN} Solving completed before timeout${NC}"
8083
else
8184
echo -e "${RED} Solving failed${NC}"

0 commit comments

Comments
 (0)