Add timeout to unit test due to highlight non-termination of prediction algorithm without resorting to @Ignore

This commit is contained in:
Sam Harwell 2013-01-02 08:32:52 -06:00
parent 2080be8a14
commit 61b872377c
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ public class TestFullContextParsing extends BaseTest {
this.stderrDuringParse);
}
@Test public void testSLLSeesEOFInLLGrammar() {
@Test(timeout = 5000)
public void testSLLSeesEOFInLLGrammar() {
String grammar =
"grammar T;\n"+
"s @after {dumpDFA();}\n" +