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

Switch to Threaded 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