From e5ffdc8334888d2a832682fa8de7b535b646d0fa Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Wed, 19 Aug 2015 08:43:40 -0700 Subject: [PATCH] Set outputchannel after CBA stop() in tests --- .../stream/config/ChannelBindingAdapterConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/config/ChannelBindingAdapterConfigurationTests.java b/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/config/ChannelBindingAdapterConfigurationTests.java index 6f4ae2c17..fa1927833 100644 --- a/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/config/ChannelBindingAdapterConfigurationTests.java +++ b/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/config/ChannelBindingAdapterConfigurationTests.java @@ -81,8 +81,8 @@ public class ChannelBindingAdapterConfigurationTests { for (OutputChannelBinding channel : channels) { channel.setTapped(true); } - this.adapter.setOutputChannels(channels); this.adapter.stop(); + this.adapter.setOutputChannels(channels); this.adapter.start(); }