Commit 4bb8f0f
authored
MINOR: Fix duplicate args in KStreamSessionWindowAggregateProcessorTest (#22183)
The `emitStrategyAndHeadersMatrix()` currently returns four entries but
they are duplicates of ON_WINDOW_UPDATE (and therefore also runs each
case twice). This also drops coverage for
EmitStrategy.StrategyType.ON_WINDOW_CLOSE, which was previously covered
via @EnumSource. Update the method source to generate the full matrix of
strategy type(s) and withHeaders values (eg, include both
ON_WINDOW_UPDATE and ON_WINDOW_CLOSE, each with withHeaders=false/true)
without duplicates.
Reviewers: Murali Basani <muralidhar.basani@aiven.io>, Matthias J. Sax
<matthias@confluent.io>1 parent 5645518 commit 4bb8f0f
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- streams/src/test/java/org/apache/kafka/streams/kstream/internals
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments