Skip to content
Browse files

Trivial change that should fix spurious timeline test failures when A…

…bstractTimelineTestCase based tests run first
  • Loading branch information...
1 parent 43abd36 commit 98358e786301262d2134103ce089a791486a7bd4 @mcculls mcculls committed with cstamas Nov 14, 2012
6 ...s/nexus-timeline-plugin/src/test/java/org/sonatype/timeline/
@@ -25,6 +25,12 @@
public abstract class AbstractTimelineTestCase
extends InjectedTestCase
+ static
+ {
+ // This setting is only checked once per-testsuite and is needed for Nexus tests.
+ // So in case this test runs first, make sure we have the right setting in place.
+ System.setProperty( "guice.disable.misplaced.annotation.check", "true" );
+ }
private static final String loremIpsum =
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum urna ac est sagittis in lacinia "

0 comments on commit 98358e7

Please sign in to comment.
Something went wrong with that request. Please try again.