mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Run each ZT instance on a different port
This commit is contained in:
parent
810e247a0f
commit
e98fcd1c5a
1 changed files with 4 additions and 4 deletions
8
.github/workflows/validate-1m-linux.sh
vendored
8
.github/workflows/validate-1m-linux.sh
vendored
|
@ -20,8 +20,8 @@ mkdir $TEST_DIR_PREFIX
|
|||
NS1="ip netns exec ns1"
|
||||
NS2="ip netns exec ns2"
|
||||
|
||||
ZT1="$NS1 ./zerotier-cli -D$(pwd)/node1"
|
||||
ZT2="$NS2 ./zerotier-cli -D$(pwd)/node2"
|
||||
ZT1="$NS1 ./zerotier-cli -p9994 -D$(pwd)/node1"
|
||||
ZT2="$NS2 ./zerotier-cli -p9995 -D$(pwd)/node2"
|
||||
|
||||
echo -e "Setting up network namespaces..."
|
||||
echo "Setting up ns1"
|
||||
|
@ -100,10 +100,10 @@ $NS1 sudo valgrind --demangle=yes --exit-on-first-error=yes \
|
|||
--xml=yes \
|
||||
--xml-file=$FILENAME_MEMORY_LOG \
|
||||
--leak-check=full \
|
||||
./zerotier-one node1 >>node_1.log 2>&1 &
|
||||
./zerotier-one node1 -p9994 >>node_1.log 2>&1 &
|
||||
|
||||
# Second instance, not run in memory profiler
|
||||
$NS2 ./zerotier-one node2 >>node_2.log 2>&1 &
|
||||
$NS2 ./zerotier-one node2 -p9995 >>node_2.log 2>&1 &
|
||||
|
||||
################################################################################
|
||||
# Online Check #
|
||||
|
|
Loading…
Add table
Reference in a new issue