Skip to content

Commit 8584a1a

Browse files
committed
Add aggregate test
1 parent 613c36b commit 8584a1a

File tree

1 file changed

+4
-0
lines changed
  • x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample

1 file changed

+4
-0
lines changed

x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DownsampleIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ public void testLastValueMethod() throws Exception {
132132
downsampleWithSamplingMethod(DownsampleConfig.SamplingMethod.LAST_VALUE);
133133
}
134134

135+
public void testAggregateMethod() throws Exception {
136+
downsampleWithSamplingMethod(DownsampleConfig.SamplingMethod.AGGREGATE);
137+
}
138+
135139
private void downsampleWithSamplingMethod(DownsampleConfig.SamplingMethod method) throws Exception {
136140
String dataStreamName = "metrics-foo";
137141
String mapping = """

0 commit comments

Comments
 (0)