Disabling GCP sample test
This commit is contained in:
@@ -18,6 +18,7 @@ package com.example;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import org.springframework.boot.test.web.client.TestRestTemplate;
|
import org.springframework.boot.test.web.client.TestRestTemplate;
|
||||||
@@ -29,6 +30,7 @@ public class FunctionSampleGcpIntegrationTest {
|
|||||||
private TestRestTemplate rest = new TestRestTemplate();
|
private TestRestTemplate rest = new TestRestTemplate();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled
|
||||||
public void testSample() throws IOException, InterruptedException {
|
public void testSample() throws IOException, InterruptedException {
|
||||||
try (LocalServerTestSupport.ServerProcess process = LocalServerTestSupport.startServer(CloudFunctionMain.class)) {
|
try (LocalServerTestSupport.ServerProcess process = LocalServerTestSupport.startServer(CloudFunctionMain.class)) {
|
||||||
String result = rest.postForObject("http://localhost:8080/", "Hello", String.class);
|
String result = rest.postForObject("http://localhost:8080/", "Hello", String.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user