Update to latest snapshot of thin launcher
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<spring-cloud-deployer-thin.version>1.0.7.RELEASE</spring-cloud-deployer-thin.version>
|
<spring-cloud-deployer-thin.version>1.0.8.BUILD-SNAPSHOT</spring-cloud-deployer-thin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -73,6 +73,15 @@ public class FunctionAppDeployerTests {
|
|||||||
return Arrays.asList(new Object[2][0]);
|
return Arrays.asList(new Object[2][0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void directory() throws Exception {
|
||||||
|
String first = deploy("file:../spring-cloud-function-samples/function-sample/target/classes", "",
|
||||||
|
"--spring.cloud.function.stream.supplier.enabled=false");
|
||||||
|
// Deployment is blocking so it either failed or succeeded.
|
||||||
|
assertThat(deployer.status(first).getState()).isEqualTo(DeploymentState.deployed);
|
||||||
|
deployer.undeploy(first);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void web() throws Exception {
|
public void web() throws Exception {
|
||||||
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT", "",
|
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT", "",
|
||||||
|
|||||||
Reference in New Issue
Block a user