Fix Partition-Capable Tests
This commit is contained in:
committed by
Marius Bogoevici
parent
bd1454bfff
commit
c9e83bb62c
@@ -283,8 +283,8 @@ public abstract class PartitionCapableBinderTests<B extends AbstractTestBinder<?
|
||||
Binding<MessageChannel> outputBinding = binder.bindProducer("partJ.0", output, producerProperties);
|
||||
if (usesExplicitRouting()) {
|
||||
Object endpoint = extractEndpoint(outputBinding);
|
||||
assertThat(getEndpointRouting(endpoint)).
|
||||
contains(getExpectedRoutingBaseDestination("partJ.0", "test") + "-' + headers['partition']");
|
||||
assertThat(getEndpointRouting(endpoint)).contains(getExpectedRoutingBaseDestination("partJ.0", "test")
|
||||
+ "-' + headers['" + BinderHeaders.PARTITION_HEADER + "']");
|
||||
}
|
||||
|
||||
output.send(new GenericMessage<>(2));
|
||||
|
||||
Reference in New Issue
Block a user