flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiwan Park <chiwanp...@icloud.com>
Subject How to test including ITCase using maven?
Date Wed, 18 Mar 2015 10:21:32 GMT
Hello.
I have a question about test using maven.

I tested with `mvn -pl flink-tests test` command to test flink-tests module. I got followed
execution logs. (I removed some unnecessary logs.)

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building flink-tests 0.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.flink.api.scala.operators.translation.AggregateTranslationTest
Running org.apache.flink.api.scala.operators.JoinOperatorTest
Running org.apache.flink.api.scala.operators.AggregateOperatorTest
Running org.apache.flink.api.scala.operators.CoGroupOperatorTest
Running org.apache.flink.api.scala.compiler.PartitionOperatorTranslationTest
Running org.apache.flink.api.scala.operators.GroupingTest
Running org.apache.flink.api.scala.operators.FirstNOperatorTest
Running org.apache.flink.api.scala.functions.SemanticPropertiesTranslationTest
Running org.apache.flink.api.scala.DeltaIterationSanityCheckTest
Running org.apache.flink.api.scala.io.CsvInputFormatTest
Running org.apache.flink.api.scala.io.CollectionInputFormatTest
Running org.apache.flink.api.scala.operators.DistinctOperatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.021 sec - in org.apache.flink.api.scala.operators.AggregateOperatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.006 sec - in org.apache.flink.api.scala.operators.FirstNOperatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.069 sec - in org.apache.flink.api.scala.operators.translation.AggregateTranslationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.306 sec - in org.apache.flink.api.scala.functions.SemanticPropertiesTranslationTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.33 sec - in org.apache.flink.api.scala.operators.DistinctOperatorTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.46 sec - in org.apache.flink.api.scala.operators.GroupingTest
Running org.apache.flink.api.scala.operators.translation.CoGroupCustomPartitioningTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.583 sec - in org.apache.flink.api.scala.io.CsvInputFormatTest
Running org.apache.flink.api.scala.operators.translation.CoGroupGroupSortTranslationTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.76 sec - in org.apache.flink.api.scala.DeltaIterationSanityCheckTest
Running org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingKeySelectorTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.882 sec - in org.apache.flink.api.scala.operators.JoinOperatorTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.907 sec - in org.apache.flink.api.scala.operators.CoGroupOperatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.041 sec - in org.apache.flink.api.scala.compiler.PartitionOperatorTranslationTest
Running org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingPojoTest
Running org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingTupleTest
Running org.apache.flink.api.scala.operators.translation.CustomPartitioningTest
Running org.apache.flink.api.scala.operators.translation.DeltaIterationTranslationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.453 sec - in org.apache.flink.api.scala.io.CollectionInputFormatTest
Running org.apache.flink.api.scala.operators.translation.DistinctTranslationTest
Running org.apache.flink.api.scala.operators.translation.JoinCustomPartitioningTest
Running org.apache.flink.api.scala.operators.translation.ReduceTranslationTest
Running org.apache.flink.api.scala.runtime.CaseClassComparatorTest
Running org.apache.flink.api.scala.runtime.GenericPairComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.146 sec - in org.apache.flink.api.scala.runtime.GenericPairComparatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.736 sec - in org.apache.flink.api.scala.operators.translation.CoGroupGroupSortTranslationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.126 sec - in org.apache.flink.api.scala.operators.translation.DistinctTranslationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.336 sec - in org.apache.flink.api.scala.operators.translation.CoGroupCustomPartitioningTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.451 sec - in org.apache.flink.api.scala.operators.translation.DeltaIterationTranslationTest
Running org.apache.flink.api.scala.runtime.KryoGenericTypeSerializerTest
Running org.apache.flink.api.scala.runtime.ScalaSpecialTypesSerializerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.146 sec - in org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingKeySelectorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.352 sec - in org.apache.flink.api.scala.operators.translation.ReduceTranslationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.881 sec - in org.apache.flink.api.scala.operators.translation.CustomPartitioningTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.083 sec - in org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingPojoTest
22529Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.022 sec - in org.apache.flink.api.scala.operators.translation.CustomPartitioningGroupingTupleTest
Running org.apache.flink.api.scala.runtime.TraversableSerializerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.696 sec - in org.apache.flink.api.scala.runtime.CaseClassComparatorTest
Running org.apache.flink.api.scala.runtime.TupleComparatorILD2Test
Running org.apache.flink.api.scala.runtime.TupleComparatorILD3Test
Running org.apache.flink.api.scala.runtime.TupleComparatorILDC3Test
Running org.apache.flink.api.scala.runtime.TupleComparatorILDX1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.17 sec - in org.apache.flink.api.scala.operators.translation.JoinCustomPartitioningTest
Running org.apache.flink.api.scala.runtime.TupleComparatorISD1Test
Running org.apache.flink.api.scala.runtime.TupleComparatorILDXC2Test
Running org.apache.flink.api.scala.runtime.TupleComparatorISD2Test
Running org.apache.flink.api.scala.runtime.TupleComparatorISD3Test
Running org.apache.flink.api.scala.runtime.TupleSerializerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.746 sec - in org.apache.flink.api.scala.runtime.TupleComparatorILD2Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.728 sec - in org.apache.flink.api.scala.runtime.TupleComparatorILD3Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.683 sec - in org.apache.flink.api.scala.runtime.TupleComparatorILDX1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.741 sec - in org.apache.flink.api.scala.runtime.TupleComparatorILDC3Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.763 sec - in org.apache.flink.api.scala.runtime.TupleComparatorILDXC2Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.793 sec - in org.apache.flink.api.scala.runtime.TupleComparatorISD1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.822 sec - in org.apache.flink.api.scala.runtime.TupleComparatorISD2Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.803 sec - in org.apache.flink.api.scala.runtime.TupleComparatorISD3Test
Running org.apache.flink.api.scala.ScalaAPICompletenessTest
Running org.apache.flink.api.scala.types.TypeInformationGenTest
Running org.apache.flink.test.compiler.examples.KMeansSingleStepTest
Running org.apache.flink.test.compiler.examples.RelationalQueryCompilerTest
Running org.apache.flink.test.compiler.iterations.ConnectedComponentsCoGroupTest
Running org.apache.flink.test.compiler.examples.WordCountCompilerTest
Running org.apache.flink.test.compiler.iterations.ConnectedComponentsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.585 sec - in org.apache.flink.api.scala.runtime.ScalaSpecialTypesSerializerTest
Running org.apache.flink.test.compiler.iterations.IterativeKMeansTest
Running org.apache.flink.test.compiler.iterations.MultipleJoinsWithSolutionSetCompilerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.326 sec - in org.apache.flink.api.scala.runtime.KryoGenericTypeSerializerTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.844 sec - in org.apache.flink.api.scala.runtime.TraversableSerializerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.535 sec - in org.apache.flink.test.compiler.examples.KMeansSingleStepTest
Running org.apache.flink.test.compiler.iterations.PageRankCompilerTest
Running org.apache.flink.test.compiler.plandump.DumpCompiledPlanTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 sec - in org.apache.flink.test.compiler.examples.WordCountCompilerTest
Running org.apache.flink.test.compiler.plandump.PreviewPlanDumpTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.13 sec - in org.apache.flink.test.compiler.iterations.ConnectedComponentsCoGroupTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.875 sec - in org.apache.flink.test.compiler.iterations.IterativeKMeansTest
Running org.apache.flink.test.distributedCache.DistributedCacheTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.554 sec - in org.apache.flink.api.scala.types.TypeInformationGenTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.649 sec - in org.apache.flink.test.compiler.examples.RelationalQueryCompilerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.553 sec - in org.apache.flink.test.compiler.iterations.ConnectedComponentsTest
Running org.apache.flink.test.misc.GenericTypeInfoTest
Running org.apache.flink.test.recordJobs.relational.query1Util.LineItemFilterTest
Running org.apache.flink.test.recordJobTests.CollectionSourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.332 sec - in org.apache.flink.api.scala.ScalaAPICompletenessTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.311 sec - in org.apache.flink.test.compiler.iterations.MultipleJoinsWithSolutionSetCompilerTest
Running org.apache.flink.test.recordJobTests.CollectionValidationTest
Running org.apache.flink.test.testPrograms.util.tests.IntTupleDataInFormatTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.571 sec - in org.apache.flink.api.scala.runtime.TupleSerializerTest
Running org.apache.flink.test.testPrograms.util.tests.TupleTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.722 sec - in org.apache.flink.test.compiler.plandump.PreviewPlanDumpTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.907 sec - in org.apache.flink.test.misc.GenericTypeInfoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.681 sec - in org.apache.flink.test.recordJobTests.CollectionValidationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.333 sec - in org.apache.flink.test.compiler.iterations.PageRankCompilerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.543 sec - in org.apache.flink.test.testPrograms.util.tests.IntTupleDataInFormatTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.278 sec - in org.apache.flink.test.testPrograms.util.tests.TupleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.241 sec - in org.apache.flink.test.recordJobs.relational.query1Util.LineItemFilterTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.651 sec - in org.apache.flink.test.compiler.plandump.DumpCompiledPlanTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.544 sec - in org.apache.flink.test.recordJobTests.CollectionSourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.006 sec - in org.apache.flink.test.distributedCache.DistributedCacheTest

Results :

Tests run: 367, Failures: 0, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.988 s
[INFO] Finished at: 2015-03-18T19:15:30+09:00
[INFO] Final Memory: 58M/1039M
[INFO] ------------------------------------------------------------------------


As you can see, There is no test log with test case named ~ITCase. I think that something
is wrong. How can I test all including ~ITCase using maven?

Regards.
Chiwan Park (Sent with iPhone)




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message