Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # dev >> making a hadoop-common test run if a property is set


Copy link to this message
-
making a hadoop-common test run if a property is set
The swiftfs tests need only to run if there's a target filesystem; copying
the s3/s3n tests, something like

  <property>
    <name>test.fs.swift.name</name>
    <value>swift://your-object-store-herel/</value>
  </property>

How does one actually go about making junit tests optional in mvn-land?
Should the probe/skip logic be in the code -which can make people think the
test passed when it didn't actually run? Or can I turn it on/off in maven?

-steve
+
Colin McCabe 2012-12-14, 18:57
+
Steve Loughran 2012-12-17, 10:06
+
Tom White 2012-12-17, 16:06
+
Steve Loughran 2012-12-17, 19:03
+
Colin McCabe 2012-12-18, 09:05
+
Steve Loughran 2012-12-18, 10:32
+
Colin McCabe 2012-12-18, 09:11
+
Steve Loughran 2012-12-18, 10:25
+
Steve Loughran 2012-12-18, 16:42