Re: flink-1.2 and unit testing / flinkspector

2017-03-23 Thread Tarandeep Singh
Hi Nancy, I also get 1 test failed when I build/run tests on flink-spector: - should stop if all triggers fire Run completed in 3 seconds, 944 milliseconds. Total number of tests run: 19 Suites: completed 5, aborted 0 Tests: succeeded 18, failed 1, canceled 0, ignored 0, pending 0 *** 1 TEST FAIL

Re: flink-1.2 and unit testing / flinkspector

2017-03-23 Thread Ted Yu
Nancy: You can start another thread for the failed unit tests. You can pass "-DskipTests" to get over the install command. Cheers On Thu, Mar 23, 2017 at 11:06 AM, Nancy Estrada wrote: > Hi Tarandeep and Ted, > > I am in this route now. I am trying to use Flinkspector with Flink 1.2 > using >

Re: flink-1.2 and unit testing / flinkspector

2017-03-23 Thread Nancy Estrada
Hi Tarandeep and Ted, I am in this route now. I am trying to use Flinkspector with Flink 1.2 using your instructions but failing miserably. After applying the changes, when I try to run "mvn clean install", some Tests fail and therefore I am not able to build successfully. I am wondering if ther

Re: flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Ted Yu
You're welcome. Maybe send out pull request to flink-spector so that other people don't have to go thru this route. On Fri, Mar 17, 2017 at 7:16 PM, Tarandeep Singh wrote: > Thank you Ted. It worked! > > Best, > Tarandeep > > On Fri, Mar 17, 2017 at 5:31 PM, Ted Yu wrote: > >> Here is where th

Re: flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Tarandeep Singh
Thank you Ted. It worked! Best, Tarandeep On Fri, Mar 17, 2017 at 5:31 PM, Ted Yu wrote: > Here is where the dependency comes in: > > [INFO] org.apache.flink:flink-test-utils_2.10:jar:1.3-SNAPSHOT > [INFO] +- org.apache.hadoop:hadoop-minikdc:jar:2.7.2:compile > [INFO] | +- org.apache.directory

Re: flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Ted Yu
Here is where the dependency comes in: [INFO] org.apache.flink:flink-test-utils_2.10:jar:1.3-SNAPSHOT [INFO] +- org.apache.hadoop:hadoop-minikdc:jar:2.7.2:compile [INFO] | +- org.apache.directory.server:apacheds-core-api:jar:2.0.0-M15:compile [INFO] | | \- org.apache.directory.jdbm:apacheds-jdb

Re: flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Tarandeep Singh
Hi Ted, See the attached patch. I am able to run test examples (e.g. org.flinkspector.datastream.examples.TestMapper) via IntelliJ. But when I try to build via maven- mvn clean install I get that dependency issue (ERROR] Failed to execute goal on project flinkspector-core_2.11: Could not resolv

Re: flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Ted Yu
Can you post the patch for flink-specter where the mini cluster is replaced ? I assume you upgraded the version of Flink in the pom. Cheers > On Mar 17, 2017, at 4:26 PM, Tarandeep Singh wrote: > > Hi, > > Is someone using flinkspector unit testing framework with flink-1.2? > I added the fol

flink-1.2 and unit testing / flinkspector

2017-03-17 Thread Tarandeep Singh
Hi, Is someone using flinkspector unit testing framework with flink-1.2? I added the following dependencies in my pom.xml file: org.flinkspector flinkspector-datastream_2.10 0.5 org.flinkspector flinkspector-co