Skip to content

Commit 3095787

Browse files
committed
test: guard the curve test failures in socket zap
1 parent 50f3fc1 commit 3095787

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/socket-zap-test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ for (const proto of testProtos("tcp", "ipc")) {
162162
if (semver.satisfies(zmq.version, "< 4.3.0")) {
163163
this.skip()
164164
}
165+
if (zmq.capability.curve !== true) {
166+
console.warn("Curve not supported by this zmq build")
167+
this.skip()
168+
}
165169

166170
this.slow(250)
167171

0 commit comments

Comments
 (0)