--- /dev/null
+# Test Description
+
+This test demonstrates that if the stream reassembly depth is reached on one direction,
+it does not block the other side.
+For the given PCAP, to server direction reaches the depth and stops processing leading
+to no alert having been logged for a valid to server request in the stream which would
+be processed in case there was no depth (sid: 2).
+However, this does not stall the packets in other direction from being the processed,
+the response to the same request is still processed and a corresponding alert is logged
+(sid: 1).
+
+## PCAP
+
+tshark.dev
+
+## Related issues
+
+https://redmine.openinfosecfoundation.org/issues/7044
--- /dev/null
+alert dcerpc any any -> any any (msg:"Test Alert 1"; sid:1; flow:established,to_client; dcerpc.stub_data; bsize:2124;)
+alert dcerpc any any -> any any (msg:"Test Alert 2"; sid:2; flow:established,to_server; dcerpc.stub_data; bsize:2148; dcerpc.opnum: 9;)
+
--- /dev/null
+args:
+ - -k none --set stream.reassembly.depth=8kb
+
+requires:
+ min-version: 7
+
+checks:
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 1
+ pcap_cnt: 46
+- filter:
+ count: 0 # because of the depth constraints
+ match:
+ event_type: alert
+ alert.signature_id: 2
+- filter:
+ count: 1
+ match:
+ event_type: dcerpc
+ pcap_cnt: 40
+ dcerpc.request: "REQUEST_LOST"
+ dcerpc.response: "RESPONSE"
+ dcerpc.call_id: 5360
--- /dev/null
+# Test Description
+
+This test demonstrates that the pcap is properly parsed and assessed in case
+there was ample stream reassembly depth (default in this case).
+
+## PCAP
+
+tshark.dev
+
+## Related issues
+
+https://redmine.openinfosecfoundation.org/issues/7044
--- /dev/null
+alert dcerpc any any -> any any (msg:"Test Alert 1"; sid:1; flow:established,to_client; dcerpc.stub_data; bsize:2124;)
+alert dcerpc any any -> any any (msg:"Test Alert 2"; sid:2; flow:established,to_server; dcerpc.stub_data; bsize:2148; dcerpc.opnum: 9;)
+
--- /dev/null
+pcap: ../truncate-applayer-test-01/input.pcap
+
+args:
+ - -k none
+
+checks:
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 1
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 2
+- filter:
+ count: 1
+ match:
+ event_type: dcerpc
+ pcap_cnt: 40
+ dcerpc.request: "REQUEST"
+ dcerpc.response: "RESPONSE"
+ dcerpc.call_id: 5360