Skip to content

Commit 8a07fa4

Browse files
committed
Attempts to fix tests
1 parent d5fdbcd commit 8a07fa4

47 files changed

Lines changed: 62 additions & 48 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

spring-cloud-function-context/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@
147147
<artifactId>micrometer-observation-test</artifactId>
148148
<scope>test</scope>
149149
</dependency>
150-
<dependency>
150+
<!--<dependency>
151151
<groupId>io.micrometer</groupId>
152152
<artifactId>micrometer-tracing-bridge-otel</artifactId>
153153
<scope>test</scope>
154-
</dependency>
154+
</dependency>-->
155155
</dependencies>
156156

157157
<build>

spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/config/RoutingFunctionTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ public class RoutingFunctionTests {
5757
public void before() {
5858
System.clearProperty("spring.cloud.function.definition");
5959
System.clearProperty("spring.cloud.function.routing-expression");
60-
context.close();
60+
if (context != null) {
61+
context.close();
62+
}
6163
}
6264

6365
private FunctionCatalog configureCatalog(Class<?> configurationClass) {

spring-cloud-function-deployer/src/it/bootapp-multi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath/>
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootapp-with-javax/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath />
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootapp-with-scf/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath/>
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootapp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath/>
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootjar-multi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath/>
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootjar/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath/>
1717
</parent>
1818

spring-cloud-function-deployer/src/it/bootjarnostart/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.5.6-SNAPSHOT</version>
15+
<version>4.0.0-M2</version>
1616
<relativePath />
1717
</parent>
1818

spring-cloud-function-kotlin/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
<groupId>org.springframework.cloud</groupId>
2525
<artifactId>spring-cloud-function-adapter-aws</artifactId>
2626
</dependency>
27+
<dependency>
28+
<groupId>org.springframework.boot</groupId>
29+
<artifactId>spring-boot-starter-webclient</artifactId>
30+
</dependency>
2731
<dependency>
2832
<groupId>com.amazonaws</groupId>
2933
<artifactId>aws-lambda-java-events</artifactId>

0 commit comments

Comments
 (0)