Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 79209200BAF for ; Mon, 31 Oct 2016 15:00:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 77D5C160AF0; Mon, 31 Oct 2016 14:00:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA337160B08 for ; Mon, 31 Oct 2016 14:59:59 +0100 (CET) Received: (qmail 19200 invoked by uid 500); 31 Oct 2016 13:59:59 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 19062 invoked by uid 99); 31 Oct 2016 13:59:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2016 13:59:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BB1B62C1F5A for ; Mon, 31 Oct 2016 13:59:58 +0000 (UTC) Date: Mon, 31 Oct 2016 13:59:58 +0000 (UTC) From: "Chesnay Schepler (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-4972) CoordinatorShutdownTestrelies on race for success MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 31 Oct 2016 14:00:00 -0000 Chesnay Schepler created FLINK-4972: --------------------------------------- Summary: CoordinatorShutdownTestrelies on race for success Key: FLINK-4972 URL: https://issues.apache.org/jira/browse/FLINK-4972 Project: Flink Issue Type: Improvement Components: Tests Affects Versions: 1.2.0 Reporter: Chesnay Schepler Assignee: Chesnay Schepler Fix For: 1.2.0 The CoordinatorShutdownTest verifies that the CheckpointCoordinator is properly shutdown when a job has succeeded/failed. For this purpose a job is submitted to a cluster without TaskManagers, resulting in immediate failure. The ExecutionGraph is then retrieved, from which the CheckpointCoordinator can be accessed. This test relies on being able to access the ExecutionGraph for a finished job even though it is only accessible for a short amount of time: until it was archived and removed from the currentJobs map in the JM. From that point on you can only retrieve an ArchivedExecutionGraph, which doesn't contain the CheckpointCoordinator anymore. The tests should be changed to block the job execution, retrieve the ExecutionGraph, resume the job and then verify the test conditions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)