Github user NicoK commented on the issue:

    https://github.com/apache/flink/pull/4414
  
    Yes, both your observations are correct. The pattern in most tests inside 
`KafkaConsumerTestBase` is to 
    1) start a job,
    2) do some processing, e.g. until some offset or another finish condition, 
including some checks
    3) cancel the job
    4) check for exceptions
    
    Since cancelling the job issues a `JobCancellationException`, this must be 
ignored.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to