Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1711

"Perform tests" problem using app engine datastore.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • 1.1.0.RELEASE
    • 1.1.1.RELEASE
    • GAE, TESTING
    • None
    • Windows 7/Mac

    Description

      Add a project, setup the database using the "persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE" command, an entity, a field and a controller.
      The "perform tests" command produces this error, which is also reported by other forum members(please check the forum post):

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.firstats.web.domain.CategoryIntegrationTest
      2010-11-07 18:10:55,583 [main] ERROR DataNucleus.Transaction - Opera
      tion rollback failed on resource: org.datanucleus.store.appengine.DatastoreXARes
      [email protected], error code UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid= enlisted resources=[[email protected]]]
      2010-11-07 18:14:58,383 [main] ERROR DataNucleus.Transaction - Opera
      tion rollback failed on resource: org.datanucleus.store.appengine.DatastoreXARes
      [email protected], error code UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid= enlisted resources=[[email protected]]]
      Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.5
      8 sec <<< FAILURE!

      Results :

      Tests in error:
      testCountCategorys(org.firstats.web.domain.CategoryIntegrationTes
      )

      Tests run: 9, Failures: 0, Errors: 1, Skipped: 0

      [INFO] ------------------------------------------------------------
      -----------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------
      -----------
      [INFO] There are test failures.

      Attachments

        Issue Links

          Activity

            People

              jtyrrell James Tyrrell
              rocktoni Toni Li
              Archiver:
              tmarshall Trevor Marshall

              Dates

                Created:
                Updated:
                Resolved:
                Archived: