Added cleanup code to the failing AWS test

This commit is contained in:
Oleg Zhurakousky
2019-06-07 14:41:45 +02:00
parent cfd24a8316
commit 2afb53f967

View File

@@ -23,6 +23,8 @@ import java.util.Map;
import java.util.function.Function;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Before;
import org.junit.Test;
import reactor.core.publisher.Flux;
@@ -44,6 +46,11 @@ public class SpringBootStreamHandlerTests {
private SpringBootStreamHandler handler;
@Before
public void before() {
System.clearProperty("function.name");
}
@Test
public void functionBeanWithJacksonConfig() throws Exception {
this.handler = new SpringBootStreamHandler(FunctionConfigWithJackson.class);