testing: Use expect-connection in swanctl scenarios
Only in net2net-start do we have to use `sleep` to ensure the SA is up when the tests are running.
This commit is contained in:
committed by
Andreas Steffen
parent
b77e25c381
commit
ae37090e65
@@ -1,8 +1,10 @@
|
||||
moon::service charon start 2> /dev/null
|
||||
carol::service charon start 2> /dev/null
|
||||
dave::service charon start 2> /dev/null
|
||||
moon::sleep 1
|
||||
moon::expect-connection research
|
||||
carol::expect-connection alice
|
||||
carol::swanctl --initiate --child alice 2> /dev/null
|
||||
carol::swanctl --initiate --child venus 2> /dev/null
|
||||
dave::expect-connection alice
|
||||
dave::swanctl --initiate --child alice 2> /dev/null
|
||||
dave::swanctl --initiate --child venus 2> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user