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

Fix quota random test failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 5.7.2
    • Component/s: Quotas, Tests

      Description

      Quota tests are failing randomly in various environments:

      • https://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-openjdk7/ (see build https://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-openjdk7/350/) for instance:
        java.lang.AssertionError: expected:<100> but was:<-1>
        	at org.junit.Assert.fail(Assert.java:91)
        	at org.junit.Assert.failNotEquals(Assert.java:645)
        	at org.junit.Assert.assertEquals(Assert.java:126)
        	at org.junit.Assert.assertEquals(Assert.java:470)
        	at org.junit.Assert.assertEquals(Assert.java:454)
        	at org.nuxeo.ecm.quota.automation.tests.TestQuotaViaAutomation.assertQuota(TestQuotaViaAutomation.java:192)
        	at org.nuxeo.ecm.quota.automation.tests.TestQuotaViaAutomation.testGetQuotasViaAutomation(TestQuotaViaAutomation.java:238)
        
      java.lang.AssertionError: 
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertTrue(Assert.java:54)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.assertQuota(TestDocumentsSizeUpdater.java:367)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnMoveFoldishContent(TestDocumentsSizeUpdater.java:754)
      
      java.lang.AssertionError: 
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertTrue(Assert.java:54)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.assertQuota(TestDocumentsSizeUpdater.java:367)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnRemoveFoldishContent(TestDocumentsSizeUpdater.java:720)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: