Skip to content

Commit

Permalink
Disable test on continuous integration server
Browse files Browse the repository at this point in the history
  • Loading branch information
ccavanaugh committed Mar 31, 2019
1 parent 77609a3 commit 14b523e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
package jgnash.engine.net.security;

import jgnash.net.YahooCrumbManager;

import java.io.IOException;
import java.math.BigDecimal;
import java.time.LocalDate;
Expand All @@ -33,8 +31,11 @@
import jgnash.engine.SecurityHistoryEvent;
import jgnash.engine.SecurityHistoryNode;
import jgnash.engine.SecurityNode;
import jgnash.net.YahooCrumbManager;
import jgnash.net.security.YahooEventParser;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;

import static org.junit.jupiter.api.Assertions.*;

Expand All @@ -57,6 +58,7 @@ protected Engine createEngine() throws IOException {

@SuppressWarnings("ConstantConditions")
@Test
@DisabledIfEnvironmentVariable(named = "CI", matches = "true") // disable on Travis-CI
void testParser() {

// try 3 times to pass
Expand Down Expand Up @@ -87,6 +89,7 @@ void testParser() {
}

@Test
@DisabledIfEnvironmentVariable(named = "CI", matches = "true") // disable on Travis-CI
void testHistoricalDownload() {

// try 3 times to pass
Expand Down

0 comments on commit 14b523e

Please sign in to comment.