Added cleanup code to the failing AWS test
This commit is contained in:
@@ -23,6 +23,8 @@ import java.util.Map;
|
|||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import reactor.core.publisher.Flux;
|
import reactor.core.publisher.Flux;
|
||||||
|
|
||||||
@@ -44,6 +46,11 @@ public class SpringBootStreamHandlerTests {
|
|||||||
|
|
||||||
private SpringBootStreamHandler handler;
|
private SpringBootStreamHandler handler;
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void before() {
|
||||||
|
System.clearProperty("function.name");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void functionBeanWithJacksonConfig() throws Exception {
|
public void functionBeanWithJacksonConfig() throws Exception {
|
||||||
this.handler = new SpringBootStreamHandler(FunctionConfigWithJackson.class);
|
this.handler = new SpringBootStreamHandler(FunctionConfigWithJackson.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user