summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 63b6ac7..caa578e 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -4075,6 +4075,9 @@ setup_cache_for_test(hid_t * fid_ptr,
fid = H5Fcreate(filenames[0], H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
+ /* Push API context */
+ H5CX_push();
+
if ( fid < 0 ) {
nerrors++;
if ( verbose ) {
@@ -4556,6 +4559,9 @@ take_down_cache(hid_t fid, H5C_t * cache_ptr)
}
+ /* Pop API context */
+ H5CX_pop();
+
if ( success ) {
if ( world_mpi_rank == world_server_mpi_rank ) {