[
https://issues.apache.org/jira/browse/FLINK-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628197#comment-16628197
]
tison edited comment on FLINK-10406 at 9/26/18 3:27 AM:
--------------------------------------------------------
- {{testCancelWithSavepoint}} is covered by
{{JobMasterTriggerSavepointIT#testStopJobAfterSavepoint}}
- {{testCancelWithSavepointNoDirectoriesConfigured}} is somehow covered by
{{JobMasterTriggerSavepointIT#testDoNotCancelJobIfSavepointFails}}. Now we
don't provide detail error message to dig out the cause a savepoint fails.
{{testDoNotCancelJobIfSavepointFails}} tests if the savepoint path permission
denied, but change it to a /not/exist/path provide the same process.
the exception stringified as "java.util.concurrent.ExecutionException:
java.util.concurrent.CompletionException:
org.apache.flink.runtime.checkpoint.CheckpointTriggerException: Failed to
trigger savepoint. Decline reason: An Exception occurred while triggering the
checkpoint."
was (Author: tison):
- {{testCancelWithSavepoint}} is covered by
{{JobMasterTriggerSavepointIT#testStopJobAfterSavepoint}}
- {{testCancelWithSavepointNoDirectoriesConfigured}} is somehow covered by
{{JobMasterTriggerSavepointIT#testDoNotCancelJobIfSavepointFails}}. Now we
don't provide detail error message to dig out the cause a savepoint fails.
{{testDoNotCancelJobIfSavepointFails}} tests if the savepoint path permission
denied, but change it to a /not/exist/path provide the same process.
> Port JobManagerTest to new code base
> ------------------------------------
>
> Key: FLINK-10406
> URL: https://issues.apache.org/jira/browse/FLINK-10406
> Project: Flink
> Issue Type: Sub-task
> Components: Tests
> Affects Versions: 1.7.0
> Reporter: tison
> Assignee: tison
> Priority: Major
> Fix For: 1.7.0
>
>
> Port {{JobManagerTest}} to new code base
> Not all of its tests should be ported, since some of them are covered by
> {{JobMasterTest}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)