Tests are failing on Travis but not locally... Argh
This commit is contained in:
parent
18f7e958d2
commit
e7dda532c6
|
@ -180,7 +180,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.19</version>
|
<version>2.18.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
||||||
<runOrder>random</runOrder>
|
<runOrder>random</runOrder>
|
||||||
|
|
|
@ -26,7 +26,11 @@ import org.hl7.fhir.instance.model.ValueSet.ConceptSetComponent;
|
||||||
import org.hl7.fhir.instance.model.ValueSet.ValueSetExpansionComponent;
|
import org.hl7.fhir.instance.model.ValueSet.ValueSetExpansionComponent;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.junit.rules.TestRule;
|
||||||
|
import org.junit.rules.TestWatcher;
|
||||||
|
import org.junit.runner.Description;
|
||||||
import org.mockito.invocation.InvocationOnMock;
|
import org.mockito.invocation.InvocationOnMock;
|
||||||
import org.mockito.stubbing.Answer;
|
import org.mockito.stubbing.Answer;
|
||||||
|
|
||||||
|
@ -157,6 +161,13 @@ public class FhirInstanceValidatorTest {
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Rule
|
||||||
|
public TestRule watcher = new TestWatcher() {
|
||||||
|
protected void starting(Description description) {
|
||||||
|
ourLog.info("Starting test: " + description.getMethodName());
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testValidateRawJsonResource() {
|
public void testValidateRawJsonResource() {
|
||||||
// @formatter:off
|
// @formatter:off
|
||||||
|
|
Loading…
Reference in New Issue