diff --git a/tests/cunit/test_darray_frame.c b/tests/cunit/test_darray_frame.c index 38c7e99e8a4..ad811afe8b2 100644 --- a/tests/cunit/test_darray_frame.c +++ b/tests/cunit/test_darray_frame.c @@ -37,7 +37,7 @@ #define LON_LEN_SHORT 2 /* The number of timesteps of data to write. */ -#define NUM_TIMESTEPS 2 +#define NUM_TIMESTEPS 3 /* The names of variable in the netCDF output files. */ #define VAR_NAME "prc" @@ -120,7 +120,7 @@ int test_frame_simple(int iosysid, int num_iotypes, int *iotype, int my_rank, ERR(ret); /* Write records of data. */ - for (int r = 0; r < TIME_LEN_SHORT; r++) + for (int r = 0; r < NUM_TIMESTEPS; r++) { int test_data_int[elements_per_pe];