hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject making a hadoop-common test run if a property is set
Date Fri, 14 Dec 2012 17:56:24 GMT
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

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