Skip to content

Commit 5946007

Browse files
committed
fix(quic): reset and mm for interop tests
1 parent ad5eae9 commit 5946007

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ json_serialization;https://github.com/status-im/nim-json-serialization@#2b1c5eb1
88
metrics;https://github.com/status-im/nim-metrics@#6142e433fc8ea9b73379770a788017ac528d46ff
99
ngtcp2;https://github.com/status-im/nim-ngtcp2@#9456daa178c655bccd4a3c78ad3b8cce1f0add73
1010
nimcrypto;https://github.com/cheatfate/nimcrypto@#19c41d6be4c00b4a2c8000583bd30cf8ceb5f4b1
11-
quic;https://github.com/status-im/nim-quic.git@#892feade77cfd84692026f8123c8825d8f2273c8
11+
quic;https://github.com/status-im/nim-quic.git@#4249e1165410d97e375ef48a9b93882200e8f7f6
1212
results;https://github.com/arnetheduck/nim-results@#df8113dda4c2d74d460a8fa98252b0b771bf1f27
1313
secp256k1;https://github.com/status-im/nim-secp256k1@#f808ed5e7a7bfc42204ec7830f14b7a42b63c284
1414
serialization;https://github.com/status-im/nim-serialization@#548d0adc9797a10b2db7f788b804330306293088

libp2p.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires "nim >= 1.6.0",
1111
"nimcrypto >= 0.6.0 & < 0.7.0", "dnsclient >= 0.3.0 & < 0.4.0", "bearssl >= 0.2.5",
1212
"chronicles >= 0.10.3", "chronos >= 4.0.4", "metrics", "secp256k1", "stew >= 0.4.0",
1313
"websock >= 0.2.0", "unittest2", "results",
14-
"https://github.com/status-im/nim-quic.git#892feade77cfd84692026f8123c8825d8f2273c8"
14+
"https://github.com/status-im/nim-quic.git#4249e1165410d97e375ef48a9b93882200e8f7f6"
1515

1616
let nimc = getEnv("NIMC", "nim") # Which nim compiler to use
1717
let lang = getEnv("NIMLANG", "c") # Which backend (c/cpp/js)

tests/hole-punching-interop/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN cd nim-libp2p && nimble install_pinned && nimble install "redis@#b341fe240db
1111

1212
COPY . nim-libp2p/
1313

14-
RUN cd nim-libp2p && nim c --skipParentCfg --NimblePath:./nimbledeps/pkgs -d:chronicles_log_level=DEBUG -d:chronicles_default_output_device=stderr -d:release --threads:off --skipProjCfg -o:hole-punching-tests ./tests/hole-punching-interop/hole_punching.nim
14+
RUN cd nim-libp2p && nim c --skipParentCfg --NimblePath:./nimbledeps/pkgs --mm:refc -d:chronicles_log_level=DEBUG -d:chronicles_default_output_device=stderr -d:release --threads:off --skipProjCfg -o:hole-punching-tests ./tests/hole-punching-interop/hole_punching.nim
1515

1616
FROM --platform=linux/amd64 debian:bullseye-slim
1717
RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y dnsutils jq curl tcpdump iproute2 libssl-dev

tests/transport-interop/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ COPY . nim-libp2p/
1313

1414
RUN \
1515
cd nim-libp2p && \
16-
nim c --skipProjCfg --skipParentCfg --NimblePath:./nimbledeps/pkgs -p:nim-libp2p -d:libp2p_quic_support -d:chronicles_log_level=WARN -d:chronicles_default_output_device=stderr --threads:off ./tests/transport-interop/main.nim
16+
nim c --skipProjCfg --skipParentCfg --NimblePath:./nimbledeps/pkgs -p:nim-libp2p --mm:refc -d:libp2p_quic_support -d:chronicles_log_level=WARN -d:chronicles_default_output_device=stderr --threads:off ./tests/transport-interop/main.nim
1717

1818
ENTRYPOINT ["/app/nim-libp2p/tests/transport-interop/main"]

0 commit comments

Comments
 (0)