summaryrefslogtreecommitdiff
path: root/sync.test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-01-03 17:20:51 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-01-04 10:00:05 +0100
commit9865d643a509f6b88a267e515c5b3153204de103 (patch)
tree9cbb4b6382bdc8bba591ce4e533225d15fcfcb25 /sync.test
parent96cbafd34d35b0330505c73cb4a963b6e9cb030d (diff)
(test) Test: explicit list of services for start-server
Diffstat (limited to 'sync.test')
-rw-r--r--sync.test8
1 files changed, 5 insertions, 3 deletions
diff --git a/sync.test b/sync.test
index ea9595d..d465b11 100644
--- a/sync.test
+++ b/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}"