test_xpi often fails at firefox_template.importFromQueue()

Bug #126482 reported by Curtis Hovey
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Carlos Perelló Marín

Bug Description

I see this 50% of the time I run test_xpi_import:

    Tests with failures:
       testTranslationImport (canonical.launchpad.translationformat.tests.test_xpi_import.XpiTestCase)

I added an assertion after the template is imported from the queue:
        self.firefox_template.importFromQueue()
        transaction.commit()
        self.assertEquals(template_entry.status, RosettaImportStatus.IMPORTED)

The error is always that the status is not IMPORTED
    AssertionError: <Item APPROVED (1) from <class 'canonical.lp.dbschema.RosettaImportStatus'>> != <Item IMPORTED (2) from <class 'canonical.lp.dbschema.RosettaImportStatus'>>

Curtis Hovey (sinzui)
Changed in rosetta:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Fixed in RF4579 and 4580

Changed in rosetta:
assignee: nobody → carlos
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.