aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-08-23 02:01:24 +0300
committerGitHub <noreply@github.com>2026-08-23 02:01:24 +0300
commit20a500a7f3fa272326418312e3b57107ee96f0c4 (patch)
tree543fee1a1525714ddab70cc1bb07ccdd044359a4 /tests
parentc9601b9396532a552679328c8f0804d52909bc84 (diff)
fix(api): start lifecycle subscriptions from live events (#3134)
refs #1270
Diffstat (limited to 'tests')
-rw-r--r--tests/api_ping.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs
index bfecc27a..917eb2d9 100644
--- a/tests/api_ping.rs
+++ b/tests/api_ping.rs
@@ -1494,6 +1494,12 @@ fn events_subscribe_streams_pane_split_and_close_events() {
let ack = reader.read_json_line(Duration::from_secs(2));
assert_eq!(ack["id"], "sub_life_b");
assert_eq!(ack["result"]["type"], "subscription_started");
+ assert!(
+ reader
+ .try_read_json_line(Duration::from_millis(250))
+ .is_none(),
+ "new subscription must not replay the root pane creation"
+ );
let split = send_request(
&socket_path,