spring-projects/spring-integration master branch

Build: #1662 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Agent
bamboo-23.af.pivotal.io
Revision
b993972199113fcd1cca1a02030d09eb709636a0 b993972199113fcd1cca1a02030d09eb709636a0
Total tests
129
Fixed in
#1664 (Code changes detected)
No failed tests found, a possible compilation error occurred.

Tests

  • 129 tests in total
  • 1 test was quarantined / skipped
  • 25 seconds taken in total.

Error summary

The build generated some errors. See the full build log for more details.

/opt/bamboo-home/xml-data/build-dir/INT-MASTER-JOB1/spring-integration-core/src/test/java/org/springframework/integration/dsl/transformers/TransformerTests.java:102: warning: [deprecation] isAfterOrEqualsTo(Date) in AbstractDateAssert has been deprecated
                assertThat(new Date()).isAfterOrEqualsTo(result.getDate());
                                      ^
  where SELF is a type-variable:
    SELF extends AbstractDateAssert<SELF> declared in class AbstractDateAssert
/opt/bamboo-home/xml-data/build-dir/INT-MASTER-JOB1/spring-integration-core/src/test/java/org/springframework/integration/dsl/transformers/TransformerTests.java:125: warning: [deprecation] isAfterOrEqualsTo(Date) in AbstractDateAssert has been deprecated
                assertThat(new Date()).isAfterOrEqualsTo(result.getDate());
                                      ^
  where SELF is a type-variable:
    SELF extends AbstractDateAssert<SELF> declared in class AbstractDateAssert
/opt/bamboo-home/xml-data/build-dir/INT-MASTER-JOB1/spring-integration-core/src/test/java/org/springframework/integration/dsl/correlation/CorrelationHandlerTests.java:172: error: cannot find symbol
                                .element(0)
                                ^
  symbol:   method element(int)
  location: class AbstractObjectAssert<CAP#1,CAP#2>
  where CAP#1,CAP#2 are fresh type-variables:
    CAP#1 extends AbstractObjectAssert<CAP#1,CAP#2> from capture of ?
    CAP#2 extends Object from capture of ?
/opt/bamboo-home/xml-data/build-dir/INT-MASTER-JOB1/spring-integration-core/src/test/java/org/springframework/integration/aggregator/FluxAggregatorMessageHandlerTests.java:68: warning: [cast] redundant cast to MessageHeaders
                                                assertThat((MessageHeaders) headers)
                                                           ^
/opt/bamboo-home/xml-data/build-dir/INT-MASTER-JOB1/spring-integration-core/src/test/java/org/springframework/integration/aggregator/FluxAggregatorMessageHandlerTests.java:90: warning: [cast] redundant cast to MessageHeaders
                                                assertThat((MessageHeaders) headers)
                                                           ^
1 error
4 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spring-integration-core:compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 21s