From 372e0db5420bbb0ff99d0f052d8a4b291d59036b Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 11 Jun 2019 19:35:37 -0400 Subject: minor --- Makefile | 3 ++- test_p2p_stress/main.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fd1399b..8a83718 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: all clean -all: build/test_msgnet +all: build/test_msgnet build/test_p2p_stress salticidae/libsalticidae.so: cd salticidae/; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DSALTICIDAE_DEBUG_LOG=OFF -DSALTICIDAE_CBINDINGS=ON -DBUILD_TEST=OFF ./ @@ -11,4 +11,5 @@ build: build/test_msgnet: salticidae/libsalticidae.so go build -o $@ salticidae-go/test_msgnet +build/test_p2p_stress: salticidae/libsalticidae.so go build -o $@ salticidae-go/test_p2p_stress diff --git a/test_p2p_stress/main.go b/test_p2p_stress/main.go index baa2a58..ed671fc 100644 --- a/test_p2p_stress/main.go +++ b/test_p2p_stress/main.go @@ -251,7 +251,7 @@ func main() { ec = salticidae.NewEventContext() var addrs []salticidae.NetAddr - for i := 0; i < 4; i++ { + for i := 0; i < 5; i++ { addrs = append(addrs, salticidae.NewAddrFromIPPortString("127.0.0.1:" + strconv.Itoa(12345 + i))) } -- cgit v1.2.3-70-g09d2