Project

General

Profile

Bug #7015

Test failures with ffi-yajl 1.0.2

Added by Dominic Cleal over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Since ffi-yajl 1.0.2 was released, proxy tests fail with:

Last response was not ok: 400 Symbol as array index.
<false> is not true. (Test::Unit::AssertionFailedError)
/var/lib/workspace/workspace/test_proxy_develop/puppet/2.6.0/ruby/1.8.7/test/dhcp/dhcp_api_test.rb:42:in `test_api_02_get_network'
/usr/local/rvm/gems/ruby-1.8.7-p371@test_proxy_develop-1/gems/mocha-1.1.0/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:29:in `__send__'
/usr/local/rvm/gems/ruby-1.8.7-p371@test_proxy_develop-1/gems/mocha-1.1.0/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:29:in `run'    

(http://ci.theforeman.org/job/test_proxy_develop/166/)

Associated revisions

Revision d7105481 (diff)
Added by Dominic Cleal over 6 years ago

fixes #7015 - to_json passes options through correctly, remove array wrapping

History

#1 Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/197 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF