From 3dc8bfbf9be49896407cdc32ad8c9c7789ac9545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 4 Dec 2022 21:52:49 +0100 Subject: Test: avoid introducing node variables by spawn --- test/discovery.test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/discovery.test') diff --git a/test/discovery.test b/test/discovery.test index 5709ee7..152b1d9 100644 --- a/test/discovery.test +++ b/test/discovery.test @@ -1,15 +1,15 @@ test: - spawn on node1 as p1 - spawn on node2 as p2 + spawn as p1 + spawn as p2 send "create-identity Device1 Owner" to p1 send "create-identity Device2" to p2 send "start-server" to p1 send "start-server" to p2 expect from p1: - /peer 1 addr ${node2.ip} 29665/ + /peer 1 addr ${p2.node.ip} 29665/ /peer 1 id Device2/ expect from p2: - /peer 1 addr ${node1.ip} 29665/ + /peer 1 addr ${p1.node.ip} 29665/ /peer 1 id Device1 Owner/ send "update-local-identity Device1A" to p1 -- cgit v1.2.3