On Tuesday, April 7, 2015 at 11:09:59 AM UTC-5, Tom Limoncelli wrote:
 

>  If you look at the TravisCI output, you'll see 
> slightly different results for Ruby 1.8.7.  It looks like something 
> changed in Ruby 1.9. 
>
> https://travis-ci.org/puppetlabs/puppetlabs-haproxy/builds/57502529 
>
> I don't have a lot of deep Ruby knowledge. Can anyone suggest either a 
> way to fix the code or the test? 
>
>

Are you saying that all the tests pass on Ruby 1.9, but some fail on Ruby 
1.8.7?

I'm not sufficiently familiar with the module to quite understand the 
details of the test failures, but it looks like the sort order you are 
trying to apply does not very effectively cover the space of keys it may be 
used to sort.  In particular, what order is supposed to be used when the 
bind_address does not start with a dotted-quad IP address?  *Some* order 
will fall out from your code, but there's plenty of room for 
implementation-defined behavior there.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/379fdd13-b774-4909-8b57-2dc54634a1d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to