Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12649

IT Failure core.impl.component.ComponentServiceTest expected:4 but was:0

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Development, Regression
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12653IT Failure krad.util.ObjectUtilsTest.testMissingNestedObjectCreation IndexOutOfBoundsException: Index: 0, Size: 0
      KULRICE-13145IT Failure ActionListTest expected 3 got 0
      KULRICE-12164IT Failure Oracle RuleTemplateXmlExporterTest.testExport expected:<5> but was:<0>
      KULRICE-13114IT Failure DocumentSearchTest.testDocSearch_WildcardsOnRegularAttributes retrieved the wrong number of documents. expected:<0> but was:<1>
      KULRICE-11825IT Failure SearchAttributeIndexRequestTest routeLevelCount's search results at loop index 1 returned the wrong number of documents. expected:<0> but was:<1>
      KULRICE-11747IT Failure RoleRouteModuleTest role member list should be empty now expected:<0> but was:<3>
      KULRICE-12651IT Failure kns.workflow.SearchAttributeIndexRequestTest routeLevelCount's search at loop index 0 should not have thrown an exception
      KULRICE-11824IT Failure RuleManagementRuleDefinitionTest.testUpdateRule Invalid AgendaItem Rule Actions attribute expected:<...tributeValueRMRDTt20[1]> but was:<...tributeValueRMRDTt20[0]>
      KULRICE-13973IT Failure PeopleFlowRoutingTest
      KULRICE-12949IT Failure DistributedTopicTest
    • Sprint:
      2.5.0-m3 Sprint 1
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required

      Description

      IT Failure core.impl.component.ComponentServiceTest

      org.kuali.rice.core.impl.component.ComponentServiceTest.testPublishComponents_and_getPublishedComponentSet ( ComponentServiceTest.testPublishComponents_and_getPublishedComponentSet ) - http://ci.rice.kuali.org/job/rice-2.5-test-integration-mysql/lastCompletedBuild/testReport/org.kuali.rice.core.impl.component/ComponentServiceTest/testPublishComponents_and_getPublishedComponentSet/

      
      java.lang.AssertionError: expected:&lt;4&gt; but was:&lt;0&gt;
             at org.junit.Assert.fail(Assert.java:88)
             at org.junit.Assert.failNotEquals(Assert.java:743)
             at org.junit.Assert.assertEquals(Assert.java:118)
             at org.junit.Assert.assertEquals(Assert.java:555)
             at org.junit.Assert.assertEquals(Assert.java:542)
             at org.kuali.rice.core.impl.component.ComponentServiceTest.testPublishComponents_and_getPublishedComponentSet(ComponentServiceTest.java:257)
      
      

        Issue Links

          Activity

          Hide
          Kurt McNew (Inactive) added a comment -

          Added getPerTestTablesToClear method to the CORETestCase

          Moved test method testPublishComponents_and_getPublishedComponentSet to its own test class so the BaselineTestCase.Mode.CLEAR_DB option could be used.

          Updated testNamespaceServiceImpl to ensure findAllNamespaces brings back a size greater than zero rather than a specific number.

          All core java and groovy Integration Tests passing locally.

          Show
          Kurt McNew (Inactive) added a comment - Added getPerTestTablesToClear method to the CORETestCase Moved test method testPublishComponents_and_getPublishedComponentSet to its own test class so the BaselineTestCase.Mode.CLEAR_DB option could be used. Updated testNamespaceServiceImpl to ensure findAllNamespaces brings back a size greater than zero rather than a specific number. All core java and groovy Integration Tests passing locally.

            People

            • Assignee:
              Kurt McNew (Inactive)
              Reporter:
              Erik Meade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m

                  Agile

                    Structure Helper Panel