{"action":"created","issue":{"url":"https://api.github.com/repos/apache/flink/issues/6260","repository_url":"https://api.github.com/repos/apache/flink","labels_url":"https://api.github.com/repos/apache/flink/issues/6260/labels{/name}","comments_url":"https://api.github.com/repos/apache/flink/issues/6260/comments","events_url":"https://api.github.com/repos/apache/flink/issues/6260/events","html_url":"https://github.com/apache/flink/pull/6260","id":338425587,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MzU4MjI3","number":6260,"title":"[FLINK-9758] Fix ContinuousFileProcessingTest failure due to not setting runtimeContext","user":{"login":"Myasuka","id":1709104,"node_id":"MDQ6VXNlcjE3MDkxMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1709104?v=4","gravatar_id":"","url":"https://api.github.com/users/Myasuka","html_url":"https://github.com/Myasuka","followers_url":"https://api.github.com/users/Myasuka/followers","following_url":"https://api.github.com/users/Myasuka/following{/other_user}","gists_url":"https://api.github.com/users/Myasuka/gists{/gist_id}","starred_url":"https://api.github.com/users/Myasuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Myasuka/subscriptions","organizations_url":"https://api.github.com/users/Myasuka/orgs","repos_url":"https://api.github.com/users/Myasuka/repos","events_url":"https://api.github.com/users/Myasuka/events{/privacy}","received_events_url":"https://api.github.com/users/Myasuka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-05T04:44:28Z","updated_at":"2018-07-15T05:05:09Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/6260","html_url":"https://github.com/apache/flink/pull/6260","diff_url":"https://github.com/apache/flink/pull/6260.diff","patch_url":"https://github.com/apache/flink/pull/6260.patch"},"body":"## What is the purpose of the change\r\n\r\nFix ContinuousFileProcessingTest failue due to not setting runtimeContext\r\n\r\n## Brief change log\r\nContinuousFileProcessingTest did not set runtime context for monitoringFunction, which will result in UT failure due to IllegalStateException if log level is set to DEBUG, just setRuntimeContext in this test.\r\n\r\n\r\n## Verifying this change\r\n\r\n*(Please pick either of the following options)*\r\n\r\nThis change is already covered by existing tests, such as *ContinuousFileProcessingTest* with debug-level.\r\n\r\n\r\n## Does this pull request potentially affect one of the following parts:\r\n\r\n  - Dependencies (does it add or upgrade a dependency): no\r\n  - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no\r\n  - The serializers: no\r\n  - The runtime per-record code paths (performance sensitive): no\r\n  - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no\r\n  - The S3 file system connector: no\r\n\r\n## Documentation\r\n\r\n  - Does this pull request introduce a new feature? no\r\n"},"comment":{"url":"https://api.github.com/repos/apache/flink/issues/comments/405067698","html_url":"https://github.com/apache/flink/pull/6260#issuecomment-405067698","issue_url":"https://api.github.com/repos/apache/flink/issues/6260","id":405067698,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA2NzY5OA==","user":{"login":"Myasuka","id":1709104,"node_id":"MDQ6VXNlcjE3MDkxMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1709104?v=4","gravatar_id":"","url":"https://api.github.com/users/Myasuka","html_url":"https://github.com/Myasuka","followers_url":"https://api.github.com/users/Myasuka/followers","following_url":"https://api.github.com/users/Myasuka/following{/other_user}","gists_url":"https://api.github.com/users/Myasuka/gists{/gist_id}","starred_url":"https://api.github.com/users/Myasuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Myasuka/subscriptions","organizations_url":"https://api.github.com/users/Myasuka/orgs","repos_url":"https://api.github.com/users/Myasuka/repos","events_url":"https://api.github.com/users/Myasuka/events{/privacy}","received_events_url":"https://api.github.com/users/Myasuka/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T05:05:09Z","updated_at":"2018-07-15T05:05:09Z","author_association":"NONE","body":"@dawidwys thanks for your suggestion, I have already refactor code with a helper method to create the continuous-monitoring function."}}
{"actor":{"display_login":"Myasuka"}}