Skip to content

Commit a4462af

Browse files
committed
libp2p_helper: add a rule to test pubsub specifically in Makefile
1 parent 6ec5b29 commit a4462af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/app/libp2p_helper/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,11 @@ test-large: ../../libp2p_ipc/libp2p_ipc.capnp.go
2727
&& $(GO) test -timeout 40m -run "^TestBitswapMedium$$" \
2828
&& $(GO) test -timeout 40m -run "^TestBitswapJumbo$$"
2929

30+
test-pubsub: ../../libp2p_ipc/libp2p_ipc.capnp.go
31+
cd src/libp2p_helper \
32+
&& (ulimit -n 65536 || true) \
33+
&& $(GO) test -timeout 40m -run "^TestPubsubMsgIdFun$$" \
34+
&& $(GO) test -timeout 40m -run "^TestPubsubMsgIdFunLongTopic$$"
35+
3036
clean:
3137
rm -rf result ../../libp2p_ipc/libp2p_ipc.capnp.go

0 commit comments

Comments
 (0)