Revert "Disabling GCP sample test"

This reverts commit d8cc4cfbb7.
This commit is contained in:
Ryan Baxter
2024-01-26 15:29:37 -05:00
parent 1ae65f5a33
commit 26f52da07b

View File

@@ -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);