Disabling GCP sample test

This commit is contained in:
Oleg Zhurakousky
2024-01-25 19:18:40 +01:00
parent 066be86928
commit d8cc4cfbb7

View File

@@ -18,6 +18,7 @@ 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;
@@ -29,6 +30,7 @@ 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);