Fix broke test for ComposeProcessor

It had a bad branch in its mutate function.

Original commit: elastic/x-pack-elasticsearch@d35ec8549c
This commit is contained in:
Nik Everett 2017-08-30 16:20:27 -04:00
parent efc876c8e1
commit 833ff18181
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@ public class ComposeProcessorTests extends AbstractWireSerializingTestCase<Compo
() -> new ComposeProcessor(
instance.first(), randomValueOtherThan(instance.second(), () -> randomColumnProcessor(0))),
() -> new ComposeProcessor(
randomValueOtherThan(instance.first(), () -> randomColumnProcessor(0)), instance.second()),
() -> new ComposeProcessor(instance.second(), instance.first()));
randomValueOtherThan(instance.first(), () -> randomColumnProcessor(0)), instance.second()));
return supplier.get();
}
}