org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>

Spring JIRA | Andy Wilkinson | 2 years ago
  1. 0

    1.5.1.RELEASE fails to build with Java 8 due to four failures in SubRegionNamespaceTests testMixedNestedRegions: {noformat} org.junit.ComparisonFailure: expected:</replicated[Parent/replicated]Child/partitionedGra...> but was:</replicated[]Child/partitionedGra...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testMixedNestedRegions(SubRegionNamespaceTest.java:93) {noformat} testNestedRegionsCreated: {noformat} java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertNotNull(Assert.java:621) at org.junit.Assert.assertNotNull(Assert.java:631) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedRegionsCreated(SubRegionNamespaceTest.java:63) {noformat} testNestedRegionsWithSiblings: {noformat} org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedRegionsWithSiblings(SubRegionNamespaceTest.java:107) {noformat} testNestedReplicatedRegions: {noformat} org.junit.ComparisonFailure: expected:</[parent/]child/grandchild> but was:</[]child/grandchild> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedReplicatedRegions(SubRegionNamespaceTest.java:78) {noformat}

    Spring JIRA | 2 years ago | Andy Wilkinson
    org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>
  2. 0

    1.5.1.RELEASE fails to build with Java 8 due to four failures in SubRegionNamespaceTests testMixedNestedRegions: {noformat} org.junit.ComparisonFailure: expected:</replicated[Parent/replicated]Child/partitionedGra...> but was:</replicated[]Child/partitionedGra...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testMixedNestedRegions(SubRegionNamespaceTest.java:93) {noformat} testNestedRegionsCreated: {noformat} java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertNotNull(Assert.java:621) at org.junit.Assert.assertNotNull(Assert.java:631) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedRegionsCreated(SubRegionNamespaceTest.java:63) {noformat} testNestedRegionsWithSiblings: {noformat} org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedRegionsWithSiblings(SubRegionNamespaceTest.java:107) {noformat} testNestedReplicatedRegions: {noformat} org.junit.ComparisonFailure: expected:</[parent/]child/grandchild> but was:</[]child/grandchild> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedReplicatedRegions(SubRegionNamespaceTest.java:78) {noformat}

    Spring JIRA | 2 years ago | Andy Wilkinson
    org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>
  3. 0

    AlertingTest failing in json comparison

    GitHub | 2 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...ule-metadata":null}}[]> but was:<...ule-metadata":null}}[ ]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running the tests, deploying to an internal maven, & updating versions

    GitHub | 2 years ago | jtruelove
    org.junit.ComparisonFailure: expected:<[error]> but was:<[ok]>
  6. 0

    Cookies tests are flaky

    GitHub | 2 years ago | seato
    org.junit.ComparisonFailure: expected:<[GM]20527.group.on> but was:<[gm]20527.group.on>

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.junit.ComparisonFailure

      expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:115)
      2. org.junit.Assert.assertEquals(Assert.java:144)
      2 frames
    3. Spring Data GemFire
      SubRegionNamespaceTest.testNestedRegionsWithSiblings
      1. org.springframework.data.gemfire.config.SubRegionNamespaceTest.testNestedRegionsWithSiblings(SubRegionNamespaceTest.java:107)
      1 frame