Skip to content

Commit

Permalink
reverting bad assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent committed Feb 26, 2020
1 parent 9f0ef5a commit 1c9cd95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public void testSerializationOfComplexAggs() throws IOException {
datafeedConfig.writeTo(output);
try(StreamInput streamInput = new NamedWriteableAwareStreamInput(output.bytes().streamInput(), namedWriteableRegistry)) {
DatafeedConfig streamedDatafeedConfig = new DatafeedConfig(streamInput);
assertEquals(datafeedConfig.getAggregations(), streamedDatafeedConfig.getAggregations());
assertEquals(datafeedConfig, streamedDatafeedConfig);

// Assert that the parsed versions of our aggs and queries work as well
assertEquals(aggBuilder, streamedDatafeedConfig.getParsedAggregations(xContentRegistry()));
Expand Down

0 comments on commit 1c9cd95

Please sign in to comment.