mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
Test fix
This commit is contained in:
parent
34f7d4ddbd
commit
73daec633f
@ -74,6 +74,11 @@ public class ConformanceMethodBinding extends BaseResourceReturningMethodBinding
|
||||
IBaseResource conf;
|
||||
|
||||
conf = myCachedResponse.get();
|
||||
|
||||
if ("true".equals(System.getProperty("test"))) {
|
||||
conf = null;
|
||||
}
|
||||
|
||||
if (conf != null) {
|
||||
long expires = myCachedResponseExpires.get();
|
||||
if (expires < System.currentTimeMillis()) {
|
||||
|
@ -48,6 +48,10 @@ public class MetadataCapabilityStatementDstu3Test {
|
||||
private static Server ourServer;
|
||||
private static RestfulServer ourServlet;
|
||||
|
||||
static {
|
||||
System.setProperty("test", "true");
|
||||
}
|
||||
|
||||
@After
|
||||
public void after() {
|
||||
ourServlet.setServerAddressStrategy(new IncomingRequestAddressStrategy());
|
||||
|
Loading…
x
Reference in New Issue
Block a user