Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix PE DB lock timeout problems
[policy/engine.git]
/
ONAP-PAP-REST
/
src
/
test
/
java
/
org
/
onap
/
policy
/
pap
/
xacml
/
rest
/
PAPRestConfigTest.java
diff --git
a/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/PAPRestConfigTest.java
b/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/PAPRestConfigTest.java
index
35540b3
..
b57c187
100644
(file)
--- a/
ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/PAPRestConfigTest.java
+++ b/
ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/PAPRestConfigTest.java
@@
-45,7
+45,7
@@
public class PAPRestConfigTest {
@Test
public void testInit() {
String driver = "org.mariadb.jdbc.Driver";
@Test
public void testInit() {
String driver = "org.mariadb.jdbc.Driver";
- String url = "jdbc:mariadb://localhost:3306/onap_sdk?
failOverReadOnly=false&autoReconnect=true
";
+ String url = "jdbc:mariadb://localhost:3306/onap_sdk?
connectTimeout=30000&socketTimeout=60000&log=true&sessionVariables=max_statement_time=30
";
String user = "policy_user";
String password = "policy_user";
String user = "policy_user";
String password = "policy_user";