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