Preparing for 2021.0.0/3.1.0 apps
Spring Boot 2.5.0 Spring Cloud Stream 3.1.x Spring Cloud Function 3.1.x Spring Cloud 2020.0.x Update code/deprecations Fix tests Update copyrights
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
<artifactId>script-processor</artifactId>
|
||||
<name>script-processor</name>
|
||||
<description>script processor apps</description>
|
||||
<version>3.0.3-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud.stream.app</groupId>
|
||||
<artifactId>stream-applications-core</artifactId>
|
||||
<version>3.0.6-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015-2020 the original author or authors.
|
||||
* Copyright 2015-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -100,7 +100,7 @@ public class ScriptProcessorIntegrationTests {
|
||||
|
||||
processorInput.send(new GenericMessage<>(9));
|
||||
Message<byte[]> sourceMessage = processorOutput.receive(10000);
|
||||
assertThat(new String(sourceMessage.getPayload())).isEqualTo("45.0");
|
||||
assertThat(new String(sourceMessage.getPayload())).isEqualTo("45");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user