TestNG timeout annotation

Just came across this:

@Test(timeOut = 5000)

http://java.dzone.com/articles/testng-test-annotation-%E2%80%93-using

Could be a handy safeguard for things that hang on HTTP connections on a bad day etc.

Mungo

The University of Dundee is a registered Scottish Charity, No: SC015096

···

Mungo Carstairs
Jalview Computational Scientist
The Barton Group
Division of Computational Biology
College of Life Sciences
University of Dundee, Dundee, Scotland, UK.
www.jalview.org
www.compbio.dundee.ac.uk