diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-11-08 11:49:22 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-11-08 11:49:22 (GMT) |
commit | 048f77864f8420c692988220635bee8beeb3b421 (patch) | |
tree | 9e8541adc6fa4495acfdaa3206c2abcdcf2b7011 /test | |
parent | fef44254feda42e3a9ea52eb1035f57dcb50ef77 (diff) | |
download | hdf5-048f77864f8420c692988220635bee8beeb3b421.zip hdf5-048f77864f8420c692988220635bee8beeb3b421.tar.gz hdf5-048f77864f8420c692988220635bee8beeb3b421.tar.bz2 |
[svn-r28307] Updated the dataset refresh code so that VDS source datasets
are correctly updated.
Tested on Ubuntu 15.10 (Linux 4.2.0 x86_64) w/ gcc 5.2.1
serial + parallel (MPICH 3.1.4)
Diffstat (limited to 'test')
-rw-r--r-- | test/cork.c | 5 | ||||
-rw-r--r-- | test/vds_swmr.h | 2 | ||||
-rw-r--r-- | test/vds_swmr_writer.c | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/test/cork.c b/test/cork.c index a774b53..1975e73 100644 --- a/test/cork.c +++ b/test/cork.c @@ -1877,9 +1877,9 @@ test_dset_cork(hbool_t newformat) /* Testing Macro */ if(newformat) { - TESTING("H5Odisable_mdc_flushes/H5Oenable_mdc_flushes/H5Oare_mdc_flushes_disabled (new library format)"); + TESTING("H5Odisable_mdc_flushes/H5Oenable_mdc_flushes/H5Oare_mdc_flushes_disabled on datasets (new library format)"); } else { - TESTING("H5Odisable_mdc_flushes/H5Oenable_mdc_flushes/H5Oare_mdc_flushes_disabled (old library format)"); + TESTING("H5Odisable_mdc_flushes/H5Oenable_mdc_flushes/H5Oare_mdc_flushes_disabled on datasets (old library format)"); } /* Create fapl */ @@ -2179,3 +2179,4 @@ main(void) return(nerrs > 0); } /* main */ + diff --git a/test/vds_swmr.h b/test/vds_swmr.h index f4b37e9..c043fd6 100644 --- a/test/vds_swmr.h +++ b/test/vds_swmr.h @@ -89,7 +89,7 @@ #define N_MAX_PLANES H5S_UNLIMITED /* Number of planes each writer will write */ -#define N_PLANES_TO_WRITE 100 +#define N_PLANES_TO_WRITE 25 /* Dataset datatypes */ #define SOURCE_DATATYPE H5T_STD_I32LE diff --git a/test/vds_swmr_writer.c b/test/vds_swmr_writer.c index 27be7cf..4c00630 100644 --- a/test/vds_swmr_writer.c +++ b/test/vds_swmr_writer.c @@ -120,6 +120,7 @@ main(int argc, char *argv[]) TEST_ERROR } /* end for */ + if(H5Pclose(faplid) < 0) TEST_ERROR if(H5Sclose(msid) < 0) |