Project: springxd
Issue XD-630: StreamCommandTests - asserting sink contents sometimes failing
There are some asserts in StreamCommandTests that are commented out (see the TODOs in there). These asserts are verifying the contents of the various sinks employed in the tests. I am finding that if the tests are run all together with the asserts enabled (run all StreamCommandTests), some of the assertions fail, with something like: {code} org.junit.ComparisonFailure: expected:<[DRACARYS! ]> but was:<[]> org.junit.Assert.assertEquals(Assert.java:115) org.junit.Assert.assertEquals(Assert.java:144) {code} When run individually the tests succeed. Not sure if it is timing (checking sinks before they've been written to) or something else...
Story points: 2