I have a rule defined in my junit test base class, but one of test in one of the extended class takes much longer time, and i was wondering if there is a good practice to follow here to cover this case?
Can i simply provide a timeout to that test and will that override the timeout rule like:
@Test(timeout = 3600000)
public void testLongTimeout() throws Exception { ... }
Or is there a better way of doing this? I was also thinking to move that single test out of that class into its own class and overriding the timeout rule for that. Suggestions?