Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6EEC17536 for ; Mon, 23 Mar 2015 16:21:42 +0000 (UTC) Received: (qmail 21042 invoked by uid 500); 23 Mar 2015 16:21:20 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 20981 invoked by uid 500); 23 Mar 2015 16:21:20 -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 20966 invoked by uid 99); 23 Mar 2015 16:21:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:21:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of henry.saputra@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:20:54 +0000 Received: by laae1 with SMTP id e1so6243233laa.2 for ; Mon, 23 Mar 2015 09:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=T2E5andy14nN4L7dklVE8YhVBZY/3+afQYyow3HCd38=; b=LQiMWeIwwMnVkE1zJ3Eh17mR1fD6tgxU+vnqxKnH5iBGu0/O9MN/e1AsJxZ/ioIbPg pM+9ofJKKM0rRn99ysb98f6yuD2B2Mjk3RzofdTr8UVt6wZtet2TNizlVt/xBLmqWsNN WnaRiiWfKR9mTgx+itfTUsKn91EBkV6Oc3Zx7c/AzrzmHRgkHdNH2UzChY/2TtWBj9ZG MKIGBD26Rjbfuf5zWznOzufGuHMUzAGBb/tp8dPVaLvnGOzUjb6s7Ycj2HXbhaGm4fdc dICsKKU4LGlJrBj1rfiwlFb1Wa9HlJ8xJe59K2GSCj0VDKEIJEVsmnUHGTvEgUE+tOSw 9aag== MIME-Version: 1.0 X-Received: by 10.152.203.225 with SMTP id kt1mr30814442lac.61.1427127653101; Mon, 23 Mar 2015 09:20:53 -0700 (PDT) Received: by 10.25.143.77 with HTTP; Mon, 23 Mar 2015 09:20:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Mar 2015 09:20:53 -0700 Message-ID: Subject: Re: Tests for the Steaming classes From: Henry Saputra To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=001a113458c4cff6e70511f70cd0 X-Virus-Checked: Checked by ClamAV on apache.org --001a113458c4cff6e70511f70cd0 Content-Type: text/plain; charset=UTF-8 +1 for more tests and plus more documentation both internal and javadoc. Some stuff like memory usafe and data flows are bit different from batch which have not been documented much. Looks like more will be coming to Flink to check out streaming solution in Flink as alternative to others. - Henry On Monday, March 23, 2015, Stephan Ewen wrote: > Hi everyone! > > With the streaming stuff getting heavier exposure, I think it needs a few > more tests. With so many changes, untested features are running a high risk > of being "patched away" by accident. > > For the runtime and batch API part, we go with the policy that every new > feature can only be merged is properly backed by tests. The streaming API > should now follow the same paradigm, in my opinion. > > Here are some tests that I suggest to add > > 1) Settings/Configuration properly forwarded from ExecutionEnvironment to > JobGraph > > 2) Isolated tests for heavy and critical utilities (like barrier buffer) > > 3) Tests on the behavior of the abstract streaming vertex. Checks that > - RuntimeContext is porperly initialized > - open() and close() is always called (on RichFunctions) > - cancelling > - close() is called when cancelling a job() > - forwarding of barriers > > 4) Tests for the JobGraph construction > - parallelism properly configured > - connections and partitioners properly set > > 5) Tests for the chaining construction > - functions that can be chained and that cannot be chained > - chaining should not be affected by parallelism settings > > Do you agree? Should I open a series of JIRAs for this? > > Greetings, > Stephan > --001a113458c4cff6e70511f70cd0--