Update refererence server to avoid long calls

This commit is contained in:
jamesagnew 2018-09-17 08:29:47 -04:00
parent a5de3f2ffd
commit 5d60b90b81
3 changed files with 4 additions and 2 deletions

View File

@ -82,6 +82,7 @@ public class TestDstu2Config extends BaseJavaConfigDstu2 {
}
retVal.setUsername(myDbUsername);
retVal.setPassword(myDbPassword);
retVal.setDefaultQueryTimeout(20);
return retVal;
}

View File

@ -88,6 +88,7 @@ public class TestDstu3Config extends BaseJavaConfigDstu3 {
}
retVal.setUsername(myDbUsername);
retVal.setPassword(myDbPassword);
retVal.setDefaultQueryTimeout(20);
return retVal;
}

View File

@ -12,7 +12,6 @@ import ca.uhn.fhirtest.interceptor.PublicSecurityInterceptor;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.commons.lang3.time.DateUtils;
import org.hibernate.dialect.PostgreSQL94Dialect;
import org.hibernate.jpa.HibernatePersistenceProvider;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
@ -74,6 +73,7 @@ public class TestR4Config extends BaseJavaConfigR4 {
}
retVal.setUsername(myDbUsername);
retVal.setPassword(myDbPassword);
retVal.setDefaultQueryTimeout(20);
return retVal;
}