Commit 2ded4b0
committed
rptest: increase message count in metrics test
The metrics test checks for a non-zero value for lag. Whether the metric
is non-zero by the time the check occurs depends on whether all messages
have been produced and if the shadow cluster has caught up. This may not
always be the case depending how the test is ran(i.e, in CDT things will
run much faster due to the greater resources).
Before the default max partition bytes was 5MiB in the direct consumer
the shadow cluster could at most consume 1MiB/s from the single
partition topic in the test. This meant that more likely than not the
shadow cluster would still be catching up by the time the metric is
checked. However, not that the default max partition bytes is 5MiB the
throughput limit is no longer the case and the shadow cluster is more
likely than not to be caught up by the time the metric is checked.
This commit increases the messages being produced to be much higher than
before to ensure that the shadow cluster is still catching up by the
time the lag metric is checked. This change also increases the test
runtime from 1min to 2min.1 parent b742815 commit 2ded4b0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3347 | 3347 | | |
3348 | 3348 | | |
3349 | 3349 | | |
3350 | | - | |
| 3350 | + | |
3351 | 3351 | | |
3352 | 3352 | | |
3353 | 3353 | | |
| |||
0 commit comments