Skip to content

Commit e099ec2

Browse files
committed
Add test
1 parent 33f01eb commit e099ec2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

examples/10_streaming_write.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ int main()
2222
}
2323

2424
// open file for writing
25+
// use QueueFullPolicy = Discard in order to create a situation where from
26+
// the reader's perspective steps are skipped. This tests the bug reported
27+
// in https://github.com/openPMD/openPMD-api/issues/1747.
2528
Series series = Series("electrons.sst", Access::CREATE, R"(
2629
{
2730
"adios2": {
2831
"engine": {
2932
"parameters": {
30-
"DataTransport": "WAN"
33+
"DataTransport": "WAN",
34+
"QueueFullPolicy": "Discard"
3135
}
3236
}
3337
}

0 commit comments

Comments
 (0)