Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20530

Fix mongodb webdriver tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4-SNAPSHOT
    • Fix Version/s: 7.10-HF19, 8.10
    • Component/s: Core MongoDB
    • Tags:
    • Sprint:
      nxFG 8.10.2, nxFG 9.1.1
    • Story Points:
      5

      Description

      Test show that data is not cleaned up correctly, could be the MongoDB or the ElasticSearch index, see attached screenshots.

      Work done with NXBT-1208 does not seem to fix the issue.

      Some tests fail because of these redundant data, see for instance https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-tests-cap-tomcat-mongodb/122/ (see also debug screenshots attached)

      Test Result (9 failures / +7)
          org.nuxeo.ftest.cap.ITCollectionsTest.testAddDocumentToCollectionAndRemove
          org.nuxeo.ftest.cap.ITFolderTest.changeFolderMetadata
          org.nuxeo.ftest.cap.ITManageTest.testTrashPurge
          org.nuxeo.ftest.cap.ITPermissionsTest.testBlockAndUnblockPermissions
          org.nuxeo.ftest.cap.ITUsersGroupsTest.testCreateSubGroupMember
          org.nuxeo.ftest.cap.ITUsersGroupsTest.testCreateSubGroupAdmin
          org.nuxeo.ftest.cap.ITWorkListTest.userCanAddItemToWorklist
          org.nuxeo.ftest.cap.ITDomainTest.tesMultipleDomainsDashboard
          org.nuxeo.ftest.cap.ITSearchTabTest.testResultColumnSimpleSearch
      

      or https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-tests-cap-tomcat-mongodb/121/ (more common failures):

      Test Result (2 failures / +1)
          org.nuxeo.ftest.cap.ITDomainTest.tesMultipleDomainsDashboard
          org.nuxeo.ftest.cap.ITSearchTabTest.testResultColumnSimpleSearch
      

      Or https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-tests-cap-tomcat-mongodb/120/

      Test Result (1 failure / -1)
          org.nuxeo.ftest.cap.ITTaggingTest.testAddAndRemoveTagOnDocument
      

      (strange because tags are not supposed to fail on MongoDB with changes for NXP-19387)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: