summaryrefslogtreecommitdiff
path: root/test/sync.test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-01-04 21:02:55 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-01-04 21:02:55 +0100
commit3e93319284aa86cc462137bda1594368361a1905 (patch)
treedf240da73b8df85c34022a97a542cc350595d529 /test/sync.test
parent7ad3fb235dde2e0be8adc0feeb890da438c70eff (diff)
parent0f83948e7f5cad486cb8c8e18b39ebbbfbfa8d98 (diff)
Merge branch 'release-0.1'HEADmasterdevel
Diffstat (limited to 'test/sync.test')
-rw-r--r--test/sync.test8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/sync.test b/test/sync.test
index ea9595d..d465b11 100644
--- a/test/sync.test
+++ b/test/sync.test
@@ -1,4 +1,6 @@
test:
+ let services = "attach,sync"
+
spawn as p1
spawn as p2
send "create-identity Device1 Owner" to p1
@@ -7,8 +9,8 @@ test:
send "watch-local-identity" to p2
send "watch-shared-identity" to p1
send "watch-shared-identity" to p2
- send "start-server" to p1
- send "start-server" to p2
+ send "start-server services $services" to p1
+ send "start-server services $services" to p2
expect from p1:
/local-identity Device1 Owner/
/shared-identity Owner/
@@ -57,7 +59,7 @@ test:
send "create-identity Device3"
send "watch-local-identity"
send "watch-shared-identity"
- send "start-server"
+ send "start-server services $services"
send "peer-add ${p1.node.ip}"