Replaces Redis as RabbitMQ for test binder.

resolves spring-cloud/spring-cloud-task#134
This commit is contained in:
Glenn Renfro
2016-05-06 09:26:39 -04:00
committed by Michael Minella
parent 7d74e05509
commit ef1c027146
16 changed files with 31 additions and 57 deletions

View File

@@ -30,14 +30,14 @@ import org.springframework.boot.test.OutputCapture;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.cloud.stream.test.junit.redis.RedisTestSupport;
import org.springframework.cloud.stream.test.junit.rabbit.RabbitTestSupport;
import org.springframework.cloud.task.batch.listener.support.JobExecutionEvent;
import org.springframework.context.annotation.PropertySource;
public class BatchEventsApplicationTests {
@ClassRule
public static RedisTestSupport redisTestSupport = new RedisTestSupport();
public static RabbitTestSupport rabbitTestSupport = new RabbitTestSupport();
@Rule
public OutputCapture outputCapture = new OutputCapture();