Skip to content

Commit

Permalink
Disable prov unit tests, they are very slow #4378
Browse files Browse the repository at this point in the history
Running these on each build wastes a lot of time for developers and this code is pretty isolated
  • Loading branch information
matthew-a-dunlap committed Jul 25, 2018
1 parent c7f7707 commit 88b6247
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,23 @@
import java.util.logging.Logger;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

/**
*
* @author madunlap
*/
@Ignore
public class ProvUtilFragmentTest {

private ProvUtilFragmentBean provUtilBean;
private ProvInvestigator provUtilBean;
JsonParser jsonParser;
private static final Logger logger = Logger.getLogger(ProvUtilFragmentTest.class.getCanonicalName());

@Before
public void setUp() {
provUtilBean = new ProvUtilFragmentBean();
provUtilBean = ProvInvestigator.getInstance();
jsonParser = new JsonParser();
}

Expand Down Expand Up @@ -120,6 +122,7 @@ public void testProvNamesNotInsideEntity() throws IOException {
//MAD: write a simple entity test as well, also ensure logging works after getting a real tostring together
//also write a test of parsing different cases, we don't want to catch "fakename" but we do want to catch "rdt:name" and "name"


@Test
public void testProvNameJsonParserEmptyEntities() throws IOException {
String jsonString = "{\n" +
Expand Down Expand Up @@ -158,6 +161,7 @@ public void testProvNameJsonParserEmptyEntities() throws IOException {

//Note: this test has entity tags in multiple places, all with unique names
//Only one entity is added to our list per unique name.

@Test
public void testProvJsonWithEntitiesInMultiplePlaces() throws IOException {
String jsonString = "{\n" +
Expand Down Expand Up @@ -268,6 +272,7 @@ public void testProvJsonWithEntitiesInMultiplePlacesWithSameNames() throws IOExc
assertTrue(entities.size() == 3); //ex:report2 & ex:report1 are repeated
}

@Ignore
@Test
public void testProvLongJsonWithEntities() throws IOException {
String jsonString = "{\n" +
Expand Down

0 comments on commit 88b6247

Please sign in to comment.