[Buildbot] #3058: PostgreSQL test fails after introducing a new re-factoring
    Buildbot trac 
    trac at buildbot.net
       
    Fri Nov 21 09:29:22 UTC 2014
    
    
  
#3058: PostgreSQL test fails after introducing a new re-factoring
-----------------------+--------------------
Reporter:  sa2ajj      |       Owner:
    Type:  defect      |      Status:  new
Priority:  major       |   Milestone:  0.9.0
 Version:  master      |  Resolution:
Keywords:  postgresql  |
-----------------------+--------------------
Comment (by ksandarusi):
 Strange, I can't seem to find the dependency change from the GH:1370. Can
 someone explain to me why this test is supposed to pass in the first
 place? It seems like this should have failed multiple times:[[BR]]
 [[BR]]
 {{{
         yield self.insertTestData([
             fakedb.Builder(id=7, name='some:builder7'),
             fakedb.Builder(id=8, name='some:builder8'),
         ])
         yield self.db.builders.updateBuilderInfo(7, u'a string which
 describe the builder', [u'cat1', u'cat2'])
         yield self.db.builders.updateBuilderInfo(8, u'a string which
 describe the builder', [])
         builderdict7 = yield self.db.builders.getBuilder(7)
         validation.verifyDbDict(self, 'builderdict', builderdict7)
         self.assertEqual(builderdict7,
                          dict(id=7, name='some:builder7', tags=['cat1',
 'cat2'],
                               masterids=[], description='a string which
 describe the builder'))
 }}}
 [[BR]]
 It seems we store in unicode, but then try to check against ascii? This
 test failure is very peculiar.
--
Ticket URL: <http://trac.buildbot.net/ticket/3058#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
    
    
More information about the bugs
mailing list