summaryrefslogtreecommitdiff
path: root/sync.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
commitc8c84f84b5f761d6aea2e9a68f374574835d83e2 (patch)
tree83cc369785fd6f07a6e68ce61d38eee30a1b9b53 /sync.test
parent32612cec8afcc20cf28f8f4c70e5477e902d2b9a (diff)
(test) Test: get and wait for shared state
Diffstat (limited to 'sync.test')
-rw-r--r--sync.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync.test b/sync.test
index 06d1a92..b9f3354 100644
--- a/sync.test
+++ b/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