Fix ignored tests

This commit is contained in:
Mahmoud Ben Hassine
2020-12-03 16:03:49 +01:00
parent 12926b46c9
commit f8f5cf2fb4
4 changed files with 16 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2007 the original author or authors.
* Copyright 2006-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,6 @@ import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.MethodRule;
@@ -78,7 +77,7 @@ public class AsyncItemProcessorMessagingGatewayTests {
@Autowired
private ItemProcessor<String, String> delegate;
@Test @Ignore // TODO: Need to figure out why the Rule doesn't work with Spring 4
@Test
public void testMultiExecution() throws Exception {
processor.setDelegate(delegate);
processor.setTaskExecutor(new SimpleAsyncTaskExecutor());