Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13724 Restrict Directory read/write access
  3. NXP-15684

Fix random bug in directories UT because of test order

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.6-SNAPSHOT
    • Fix Version/s: 6.0
    • Component/s: Directory

      Description

      Depending on the order of UT execution there are 15 tests failing:

      02:24:24 Failed tests: 
      02:24:24   TestContribSQLDirectorySecurity.cantCreateEntry:97 
      02:24:24   TestSQLDirectory.testCreateEntry:190 
      02:24:24   TestSQLDirectory.testUpdateEntry:369 
      02:24:24   TestSQLDirectory.testDeleteEntry:407 
      02:24:24   TestSQLDirectory.testCreateFromModel:661 
      02:24:24   TestSQLDirectoryNativeCase>TestSQLDirectory.testCreateEntry:190 
      02:24:24   TestSQLDirectoryNativeCase>TestSQLDirectory.testUpdateEntry:369 
      02:24:24   TestSQLDirectoryNativeCase>TestSQLDirectory.testDeleteEntry:407 
      02:24:24   TestSQLDirectoryNativeCase>TestSQLDirectory.testCreateFromModel:661 
      02:24:24   TestIntIdField.testIntIdDirectory:55 
      02:24:24   TestCachedSQLDirectory>TestSQLDirectory.testCreateEntry:190 
      02:24:24   TestCachedSQLDirectory>TestSQLDirectory.testUpdateEntry:369 
      02:24:24   TestCachedSQLDirectory>TestSQLDirectory.testDeleteEntry:407 
      02:24:24   TestCachedSQLDirectory>TestSQLDirectory.testCreateFromModel:661 
      02:24:24   TestSQLDirectoryAutoIncrementId.testAutoIncrementId:57 
      02:24:24 
      02:24:24 Tests in error: 
      02:24:24   TestSQLDirectory.testColumnCreation:710 NullPointer
      02:24:24   TestSQLDirectoryNativeCase>TestSQLDirectory.testColumnCreation:710 » NullPointer
      02:24:24   TestCachedSQLDirectory>TestSQLDirectory.testColumnCreation:710 » NullPointer
      02:24:24 
      02:24:24 Tests run: 87, Failures: 15, Errors: 3, Skipped: 3
      

      This is a regression since 2014-10-23 17:23
      After merging T&P including
      https://github.com/nuxeo/nuxeo-services/commit/372e65d9de1cb26c6f74055b4853c504b0dc07db

      IT builds are blocked

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: