@@ -6318,11 +6318,14 @@ void unfinished_iteration_test(
63186318 std::string file = std::string (" ../samples/unfinished_iteration" ) +
63196319 (encoding == IterationEncoding::fileBased ? " _%T." : " ." ) + ext;
63206320 {
6321+ std::vector<int > data{0 , 1 , 2 , 3 , 4 };
63216322 Series write (file, Access::CREATE, config);
63226323 auto it0 = write.writeIterations ()[0 ];
63236324 it0.meshes [" E" ][" x" ].resetDataset ({Datatype::INT, {5 }});
6325+ it0.meshes [" E" ][" x" ].storeChunk (data, {0 }, {5 });
63246326 auto it5 = write.writeIterations ()[5 ];
63256327 it5.meshes [" E" ][" x" ].resetDataset ({Datatype::INT, {5 }});
6328+ it5.meshes [" E" ][" x" ].storeChunk (data, {0 }, {5 });
63266329 ;
63276330 /*
63286331 * With enabled invasive tests, this attribute will let the Iteration
@@ -6331,6 +6334,7 @@ void unfinished_iteration_test(
63316334 it5.setAttribute (" __openPMD_internal_fail" , " asking for trouble" );
63326335 auto it10 = write.writeIterations ()[10 ];
63336336 it10.meshes [" E" ][" x" ].resetDataset ({Datatype::INT, {5 }});
6337+ it10.meshes [" E" ][" x" ].storeChunk (data, {0 }, {5 });
63346338 it10.setAttribute (" __openPMD_internal_fail" , " playing nice again" );
63356339 auto e_density = it10.meshes [" e_density" ][RecordComponent::SCALAR];
63366340 auto electron_x = it10.particles [" e" ][" position" ][" x" ];
0 commit comments