Re-enable GCP sample test and fix mvn not found
enable test output temporarily for Travis Revert "enable test output temporarily for Travis" This reverts commit a797ca75e8c7a48e57f988360e5d57dbb497a6fb. Resolves #527
This commit is contained in:
committed by
Oleg Zhurakousky
parent
9a481e83a0
commit
4af243ee0b
@@ -24,7 +24,6 @@ import java.util.concurrent.CountDownLatch;
|
|||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.springframework.boot.test.web.client.TestRestTemplate;
|
import org.springframework.boot.test.web.client.TestRestTemplate;
|
||||||
@@ -39,9 +38,8 @@ public class FunctionSampleGcpIntegrationTest {
|
|||||||
private CountDownLatch startedSuccessfully = new CountDownLatch(1);
|
private CountDownLatch startedSuccessfully = new CountDownLatch(1);
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
public void testSample() throws IOException {
|
public void testSample() throws IOException {
|
||||||
Process process = new ProcessBuilder("mvn", "function:run").start();
|
Process process = new ProcessBuilder("./../../mvnw", "function:run").start();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Executors.defaultThreadFactory().newThread(new OutputCapture(process.getErrorStream())).start();
|
Executors.defaultThreadFactory().newThread(new OutputCapture(process.getErrorStream())).start();
|
||||||
@@ -88,4 +86,5 @@ public class FunctionSampleGcpIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user