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 477DD20049E for ; Thu, 10 Aug 2017 11:28:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4634E16AED9; Thu, 10 Aug 2017 09:28:09 +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 9020216AED7 for ; Thu, 10 Aug 2017 11:28:08 +0200 (CEST) Received: (qmail 51992 invoked by uid 500); 10 Aug 2017 09:28:07 -0000 Mailing-List: contact issues-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 issues@flink.apache.org Received: (qmail 51653 invoked by uid 99); 10 Aug 2017 09:28:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 09:28:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D87D51A0838 for ; Thu, 10 Aug 2017 09:28:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2L6Ok2Z8ffZ0 for ; Thu, 10 Aug 2017 09:28:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7B99B60E9E for ; Thu, 10 Aug 2017 09:28:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0FC8CE0E7F for ; Thu, 10 Aug 2017 09:28:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3C0DC241A1 for ; Thu, 10 Aug 2017 09:28:01 +0000 (UTC) Date: Thu, 10 Aug 2017 09:28:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-7199) Graph simplification does not set parallelism MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 10 Aug 2017 09:28:09 -0000 [ https://issues.apache.org/jira/browse/FLINK-7199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121349#comment-16121349 ] ASF GitHub Bot commented on FLINK-7199: --------------------------------------- Github user NicoK commented on a diff in the pull request: https://github.com/apache/flink/pull/4346#discussion_r132400768 --- Diff: flink-libraries/flink-gelly-examples/src/test/java/org/apache/flink/graph/drivers/EdgeListITCase.java --- @@ -56,214 +56,304 @@ public void testLongDescription() throws Exception { ProgramParametrizationException.class); } + // CirculantGraph + + private String[] getCirculantGraphParamters(String output) { + return parameters("CirculantGraph", output, "--vertex_count", "42", "--range0", "13:4"); + } + @Test public void testHashWithCirculantGraph() throws Exception { - expectedChecksum( - parameters("CirculantGraph", "hash", "--vertex_count", "42", "--range0", "13:4"), - 168, 0x000000000001ae80); + expectedChecksum(getCirculantGraphParamters("hash"), 168, 0x000000000001ae80); } @Test public void testPrintWithCirculantGraph() throws Exception { // skip 'char' since it is not printed as a number Assume.assumeFalse(idType.equals("char") || idType.equals("nativeChar")); - expectedOutputChecksum( - parameters("CirculantGraph", "print", "--vertex_count", "42", "--range0", "13:4"), - new Checksum(168, 0x0000004bdcc52cbcL)); + expectedOutputChecksum(getCirculantGraphParamters("print"), new Checksum(168, 0x0000004bdcc52cbcL)); + } + + @Test + public void testParallelismWithCirculantGraph() throws Exception { + TestUtils.verifyParallelism(getCirculantGraphParamters("print")); + } + + // CompleteGraph + + private String[] getCompleteGraphParamters(String output) { --- End diff -- typo, should be: `getCompleteGraphParameters` > Graph simplification does not set parallelism > --------------------------------------------- > > Key: FLINK-7199 > URL: https://issues.apache.org/jira/browse/FLINK-7199 > Project: Flink > Issue Type: Bug > Components: Gelly > Affects Versions: 1.3.1, 1.4.0 > Reporter: Greg Hogan > Assignee: Greg Hogan > Priority: Minor > > The {{Simplify}} parameter should accept and set the parallelism when calling the {{Simplify}} algorithms. -- This message was sent by Atlassian JIRA (v6.4.14#64029)