summaryrefslogtreecommitdiff
path: root/test/storage.et
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-22 08:38:35 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-22 08:38:35 +0200
commitd969662c35fee0bebce8cae285750e0c8848713e (patch)
treec570dd520e2720c834bb75d25b609dd0144ffe6e /test/storage.et
parent997a6e8633af550c7aa3cee049ac42674de9a5e7 (diff)
Test: include identity ref in local-identity events
Diffstat (limited to 'test/storage.et')
-rw-r--r--test/storage.et10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/storage.et b/test/storage.et
index ee19e6e..a374bca 100644
--- a/test/storage.et
+++ b/test/storage.et
@@ -396,11 +396,11 @@ test SharedStateWatcher:
send "start-server services $services" to p1
send "start-server services $services" to p2
expect from p1:
- /local-identity Device1 Owner/
+ /local-identity $refpat Device1 Owner/
/peer 1 addr ${p2.node.ip} 29665/
/peer 1 id Device2/
expect from p2:
- /local-identity Device2/
+ /local-identity $refpat Device2/
/peer 1 addr ${p1.node.ip} 29665/
/peer 1 id Device1 Owner/
@@ -414,7 +414,7 @@ test SharedStateWatcher:
send "attach-accept 1" to p2
expect /attach-request-done 1/ from p1
expect /attach-response-done 1/ from p2
- expect /local-identity Device2 Owner/ from p2
+ expect /local-identity $refpat Device2 Owner/ from p2
expect /peer 1 id Device2 Owner/ from p1
for i in [1..5]:
@@ -440,7 +440,7 @@ test LocalStateKeepUnknown:
with p:
send "create-identity Device"
send "watch-local-identity"
- expect /local-identity Device/
+ expect /local-identity $refpat Device/
send "local-state-get"
expect /local-state-get ($refpat)/ capture s1
@@ -465,7 +465,7 @@ test LocalStateKeepUnknown:
expect /local-state-get $s2/
send "update-local-identity Device2"
- expect /local-identity Device2/
+ expect /local-identity $refpat Device2/
send "local-state-get"
expect /local-state-get ($refpat)/ capture s3