Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 636F317F57 for ; Mon, 4 May 2015 08:22:46 +0000 (UTC) Received: (qmail 12595 invoked by uid 500); 4 May 2015 08:22:46 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 12550 invoked by uid 500); 4 May 2015 08:22:46 -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 12541 invoked by uid 99); 4 May 2015 08:22:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 08:22:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for issues@flink.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 08:22:41 +0000 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 7504642AD2 for ; Mon, 4 May 2015 08:22:21 +0000 (UTC) Received: (qmail 9699 invoked by uid 99); 4 May 2015 08:21:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 08:21:06 +0000 Date: Mon, 4 May 2015 08:21:06 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-1595) Add a complex integration test for Streaming API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FLINK-1595?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1452= 6404#comment-14526404 ]=20 ASF GitHub Bot commented on FLINK-1595: --------------------------------------- Github user mbalassi commented on the pull request: https://github.com/apache/flink/pull/520#issuecomment-98628873 =20 Hey, =20 Sorry for not attending to this for a long time. It needed a rebase for= the API of the chaining. Now that I have updated that the test throws the = following NPE: =20 Caused by: java.lang.NullPointerException =09at org.apache.flink.streaming.api.complex.ComplexIntegrationTest$MyT= imestamp.getTimestamp(ComplexIntegrationTest.java:659) =09at org.apache.flink.streaming.api.complex.ComplexIntegrationTest$MyT= imestamp.getTimestamp(ComplexIntegrationTest.java:654) =09at org.apache.flink.streaming.api.windowing.helper.TimestampWrapper.= getTimestamp(TimestampWrapper.java:34) =09at org.apache.flink.streaming.api.windowing.windowbuffer.SlidingTime= PreReducer.afterEmit(SlidingTimePreReducer.java:71) =09at org.apache.flink.streaming.api.windowing.windowbuffer.SlidingPreR= educer.emitWindow(SlidingPreReducer.java:59) =09... 7 more =20 It would be nice if we could separate the individual tests, so it is ea= sier to track an exception like that. Maybe a solution similar to `Miltiple= ProgramsTestBase` for streaming would do the trick. =20 @szape, could you please do an update with these, then I'd merge it asa= p so that it does not get outdated again. Thanks. > Add a complex integration test for Streaming API > ------------------------------------------------ > > Key: FLINK-1595 > URL: https://issues.apache.org/jira/browse/FLINK-1595 > Project: Flink > Issue Type: Task > Components: Streaming > Reporter: Gyula Fora > Assignee: P=C3=A9ter Szab=C3=B3 > Labels: Starter > > The streaming tests currently lack a sophisticated integration test that = would test many api features at once.=20 > This should include different merging, partitioning, grouping, aggregatio= n types, as well as windowing and connected operators. > The results should be tested for correctness. > A test like this would help identifying bugs that are hard to detect by u= nit-tests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)