summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2022-11-14 21:36:14 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2022-11-14 21:36:14 +0100
commit14d6b6f7e4876b897592812475f201a01084c13d (patch)
treebeb8f734040239e0171232be474a29349c0e3944 /test
parent7297ec818dae9c86b1f614743129553242cf23b6 (diff)
Test: get and wait for shared state
Diffstat (limited to 'test')
-rw-r--r--test/sync.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sync.test b/test/sync.test
index 06d1a92..b9f3354 100644
--- a/test/sync.test
+++ b/test/sync.test
@@ -43,3 +43,8 @@ test:
send "update-shared-identity NewOwner3" to p1
expect /shared-identity NewOwner3/ from p1
expect /shared-identity NewOwner3/ from p2
+
+ send "shared-state-get" to p1
+ expect /shared-state-get (.*)/ from p1 capture p1state
+ send "shared-state-wait $p1state" to p2
+ expect /shared-state-wait $p1state/ from p2