Update to latest snapshot of thin launcher

This commit is contained in:
Dave Syer
2017-11-17 15:04:41 +00:00
parent 66beae56bd
commit 7bf7b8b9c0
2 changed files with 10 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
</parent>
<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>
<dependencies>

View File

@@ -73,6 +73,15 @@ public class FunctionAppDeployerTests {
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
public void web() throws Exception {
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT", "",