diff options
author | Determinant <[email protected]> | 2019-06-11 19:35:37 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-11 19:35:37 -0400 |
commit | 372e0db5420bbb0ff99d0f052d8a4b291d59036b (patch) | |
tree | cf568a249ce68c0cc4b2df5b2c226746e45049f1 | |
parent | 1371ede9aad86dce624f4486b5d7831aa6de5a70 (diff) |
minor
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | test_p2p_stress/main.go | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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))) } |