Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5624

Depending on underlying database, test case import can fail when test case name is too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6 M6, 2.6
    • None
    • None
    • None

    Description

      Found on customer data:

      When test case name exceeds 255 chars, the import fails. Several issues here:
      1. Import status is cryptic and should be improved:
      Time Level Type Description Exception
      2010-04-08 12:45:56 fatal bootstrap Bamboo has encountered errors while upgrading. Please resolve these errors and restart Bamboo. Upgrade task for build 1825 failed with exception: null
      2. Maybe the test case name should be extended (since we now know it's to short for hierarchical test case names). Note: varchar is limited to 255 chars on some dbs (for example MySQL has to be >=5.0.3). So, it's not as easy as it seems. We could also switch to text from varchar (but we also need to verify db support for that).
      3. What to do when such test case is encountered during Bamboo build processsing? Options: truncate, skip.
      4. How should it affect the whole import? Options: truncate, skip.
      5. Import stopped much later than at the point exception was detected (existing processing threads continued).

      I will fix 1 and 5.
      I need opinions on 3 and 4. I vote truncate.

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            pbruski Przemek Bruski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: