Skip Menu |

This queue is for tickets about the ZeroMQ CPAN distribution.

Report information
The Basics
Id: 67290
Status: resolved
Priority: 0/
Queue: ZeroMQ

People
Owner: Nobody in particular
Requestors: stolen-from-bitcard [...] l2g.to
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.09
Fixed in: (no value)



Subject: Changed(?) default value of ZMQ_RATE breaks test
I'm trying to build against 0MQ 2.1.4, and it seems that the default value of ZMQ_RATE (40,000) is not the value expected by the Perl tests (100). I've examined the 0MQ source, and it looks like the value of 40,000 is valid. Maybe iMatix changed it. (I don't know; I'm new to 0MQ myself.) Attached is a patch for the failing test.
Subject: patch-t-100_basic.t.diff
--- t/100_basic.t.orig 2011-04-06 20:08:51.000000000 -0700 +++ t/100_basic.t 2011-04-06 20:09:31.000000000 -0700 @@ -35,7 +35,7 @@ ok(!$sock->getsockopt(ZMQ_RCVMORE), "no ZMQ_RCVMORE set"); ok($sock->getsockopt(ZMQ_AFFINITY) == 0, "no ZMQ_AFFINITY"); - ok($sock->getsockopt(ZMQ_RATE) == 100, "ZMQ_RATE is at default 100"); + ok($sock->getsockopt(ZMQ_RATE) == 40_000, "ZMQ_RATE is at default 40 000"); my $msg = $sock->recv(); ok(defined $msg, "received defined msg");
From: stolen-from-bitcard [...] l2g.to
I see this is fixed in version 0.10. It was also reported here: https://github.com/lestrrat/ZeroMQ-Perl/issues/11 (Did I miss a note somewhere saying to report bugs on GitHub instead of rt.cpan.org?)
thanks, Show quoted text
> (Did I miss a note somewhere saying to report bugs on GitHub instead > of rt.cpan.org?)
Nah, I just got kinda lost track of stuff. I can deal with either RT or github, I just need to remember that there are tickets. --d