Project

General

Profile

Bug #2262

test_it_should_return_puppetclasses failure on PostgreSQL

Added by Dominic Cleal about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Failed assertion, no message given. (test_it_should_return_puppetclasses)
/var/lib/workspace/workspace/test_develop_matrix/database/postgresql/label/el/puppet/3.0/ruby/1.9.3/test/unit/classification_test.rb:11    

http://ci.theforeman.org/job/test_develop_matrix/database=postgresql,label=el,puppet=3.0,ruby=1.9.3/lastCompletedBuild/testReport/%28root%29/ClassificationTest/test_it_should_return_puppetclasses/

postgresql:
[9] pry(#<Classification>)> EnvironmentClass.where(:environment_id => hosts(:one).environment_id, :puppetclass_id => [980190962]).pluck('DISTINCT puppetclass_id')
=> ["980190962"]

sqlite:
[5] pry(#<ClassificationTest>)> EnvironmentClass.where(:environment_id => hosts(:one).environment_id, :puppetclass_id => [980190962]).pluck('DISTINCT puppetclass_id')
=> [980190962]

Associated revisions

Revision 14a61af4 (diff)
Added by Dominic Cleal about 6 years ago

fixes #2262 - handle strings from PostgreSQL

History

#1 Updated by Dominic Cleal about 6 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Ohad Levy about 6 years ago

  • Target version set to 1.2.0

#3 Updated by Dominic Cleal about 6 years ago

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

Also available in: Atom PDF