summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--attach.test4
-rw-r--r--discovery.test4
-rw-r--r--sync.test4
3 files changed, 6 insertions, 6 deletions
diff --git a/attach.test b/attach.test
index e43cd10..3cbe63e 100644
--- a/attach.test
+++ b/attach.test
@@ -9,11 +9,11 @@ test:
send "start-server" to p2
expect from p1:
/local-identity Device1 Owner/
- /peer 1 addr 192.168.0.12 29665/
+ /peer 1 addr ${node2.ip} 29665/
/peer 1 id Device2/
expect from p2:
/local-identity Device2/
- /peer 1 addr 192.168.0.11 29665/
+ /peer 1 addr ${node1.ip} 29665/
/peer 1 id Device1 Owner/
send "attach-to 1" to p2
diff --git a/discovery.test b/discovery.test
index b477dc0..5709ee7 100644
--- a/discovery.test
+++ b/discovery.test
@@ -6,10 +6,10 @@ test:
send "start-server" to p1
send "start-server" to p2
expect from p1:
- /peer 1 addr 192.168.0.12 29665/
+ /peer 1 addr ${node2.ip} 29665/
/peer 1 id Device2/
expect from p2:
- /peer 1 addr 192.168.0.11 29665/
+ /peer 1 addr ${node1.ip} 29665/
/peer 1 id Device1 Owner/
send "update-local-identity Device1A" to p1
diff --git a/sync.test b/sync.test
index 34b7cc0..eb0c446 100644
--- a/sync.test
+++ b/sync.test
@@ -12,11 +12,11 @@ test:
expect from p1:
/local-identity Device1 Owner/
/shared-identity Owner/
- /peer 1 addr 192.168.0.12 29665/
+ /peer 1 addr ${node2.ip} 29665/
/peer 1 id Device2/
expect from p2:
/local-identity Device2/
- /peer 1 addr 192.168.0.11 29665/
+ /peer 1 addr ${node1.ip} 29665/
/peer 1 id Device1 Owner/
send "attach-to 1" to p2