Skip to content

Commit

Permalink
Disable test that fails sporadically
Browse files Browse the repository at this point in the history
  • Loading branch information
andresp99999 committed Jun 12, 2017
1 parent d7f23c7 commit e9c079b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package de.jetwick.snacktory;

import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.*;
import org.apache.commons.lang.time.*;
Expand Down Expand Up @@ -129,6 +130,7 @@ public void testXml() throws Exception {
}

@Test
@Ignore ("Test fails sporadically")
public void testYahooMobile() throws Exception {
JResult res = new HtmlFetcher().fetchAndExtract("https://m.yahoo.com/w/legobpengine/finance/news/stevia-first-corp-stvf-looks-123500390.html?.intl=us&.lang=en-us", 10000, true);
assertTrue(res.getTitle(), res.getTitle().startsWith("Stevia First Corp. (STVF) Looks to Disrupt Flavor Industry"));
Expand Down

0 comments on commit e9c079b

Please sign in to comment.