Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #13272 (closed)

Opened 8 years ago

Closed 8 years ago

RFE: allow offline maven build (LocationTest)

Reported by: mtbcarroll Owned by: mtbcarroll
Priority: minor Milestone: n.a.
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc: bf@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by mtbcarroll)

Without -DskipTests one can't build Bio-Formats when offline because LocationTest fails. It's a pain to find components/formats-common/test/loci/common/utests/testng-template.xml, remove LocationTest, and maintain that change. Far nicer would be if the failing tests could simply skip if the host is wholly offline. For instance, one could use listeners as in https://github.com/hierynomus/assumeng with some kind of methods = {"isOnline"} assumption, or even simply throw SkipException where necessary.

Change History (3)

comment:1 Changed 8 years ago by mtbcarroll

  • Description modified (diff)

comment:2 Changed 8 years ago by mtbcarroll

  • Owner changed from dgault to mtbcarroll
  • Status changed from new to accepted

comment:3 Changed 8 years ago by mtbcarroll

  • Resolution set to fixed
  • Status changed from accepted to closed

In the longer term these tests should probably use TestNG's parameterization but given the current structure this is fixed adequately by https://github.com/openmicroscopy/bioformats/pull/2506.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64298 sec.)

We're Hiring!