Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
joram
joram
Commits
16dbc60f
Commit
16dbc60f
authored
Apr 04, 2019
by
Andre Freyssinet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the timeout to ensure the execution of the test.
parent
f84ffab3
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
tests/src/joram/rest/AdminREST.java
tests/src/joram/rest/AdminREST.java
+1
-1
tests/src/joram/rest/ClientRESTBytesMessage.java
tests/src/joram/rest/ClientRESTBytesMessage.java
+1
-1
tests/src/joram/rest/ClientRESTMapMessage.java
tests/src/joram/rest/ClientRESTMapMessage.java
+1
-1
tests/src/joram/rest/ClientRESTSSL.java
tests/src/joram/rest/ClientRESTSSL.java
+1
-1
tests/src/joram/rest/ClientRESTSelector.java
tests/src/joram/rest/ClientRESTSelector.java
+1
-1
tests/src/joram/rest/ClientRESTTextMessage.java
tests/src/joram/rest/ClientRESTTextMessage.java
+1
-1
tests/src/joram/rest/ClientRESTTextPerf.java
tests/src/joram/rest/ClientRESTTextPerf.java
+1
-1
tests/src/joram/rest/ClientRESTTopic.java
tests/src/joram/rest/ClientRESTTopic.java
+1
-1
tests/src/joram/rest/ClientRESTTransacted.java
tests/src/joram/rest/ClientRESTTransacted.java
+1
-1
tests/src/joram/rest/JmxREST.java
tests/src/joram/rest/JmxREST.java
+1
-1
No files found.
tests/src/joram/rest/AdminREST.java
View file @
16dbc60f
...
@@ -51,7 +51,7 @@ public class AdminREST extends TestCase {
...
@@ -51,7 +51,7 @@ public class AdminREST extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTBytesMessage.java
View file @
16dbc60f
...
@@ -58,7 +58,7 @@ public class ClientRESTBytesMessage extends TestCase {
...
@@ -58,7 +58,7 @@ public class ClientRESTBytesMessage extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTMapMessage.java
View file @
16dbc60f
...
@@ -59,7 +59,7 @@ public class ClientRESTMapMessage extends TestCase {
...
@@ -59,7 +59,7 @@ public class ClientRESTMapMessage extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTSSL.java
View file @
16dbc60f
...
@@ -50,7 +50,7 @@ public class ClientRESTSSL extends TestCase {
...
@@ -50,7 +50,7 @@ public class ClientRESTSSL extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
javax
.
net
.
ssl
.
HttpsURLConnection
.
setDefaultHostnameVerifier
(
javax
.
net
.
ssl
.
HttpsURLConnection
.
setDefaultHostnameVerifier
(
new
javax
.
net
.
ssl
.
HostnameVerifier
(){
new
javax
.
net
.
ssl
.
HostnameVerifier
(){
...
...
tests/src/joram/rest/ClientRESTSelector.java
View file @
16dbc60f
...
@@ -51,7 +51,7 @@ public class ClientRESTSelector extends TestCase {
...
@@ -51,7 +51,7 @@ public class ClientRESTSelector extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTTextMessage.java
View file @
16dbc60f
...
@@ -58,7 +58,7 @@ public class ClientRESTTextMessage extends TestCase {
...
@@ -58,7 +58,7 @@ public class ClientRESTTextMessage extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTTextPerf.java
View file @
16dbc60f
...
@@ -75,7 +75,7 @@ public class ClientRESTTextPerf extends TestCase {
...
@@ -75,7 +75,7 @@ public class ClientRESTTextPerf extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
System
.
out
.
println
(
"start TEST: \n\tnb thread "
+
getNbThread
()
+
", send/receive "
+
getNbMessage
()
+
" messages/thread"
);
System
.
out
.
println
(
"start TEST: \n\tnb thread "
+
getNbThread
()
+
", send/receive "
+
getNbMessage
()
+
" messages/thread"
);
writeIntoFile
(
"nb thread "
+
getNbThread
()
+
", send/receive "
+
getNbMessage
()
+
" messages/thread"
);
writeIntoFile
(
"nb thread "
+
getNbThread
()
+
", send/receive "
+
getNbMessage
()
+
" messages/thread"
);
...
...
tests/src/joram/rest/ClientRESTTopic.java
View file @
16dbc60f
...
@@ -58,7 +58,7 @@ public class ClientRESTTopic extends TestCase {
...
@@ -58,7 +58,7 @@ public class ClientRESTTopic extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
tests/src/joram/rest/ClientRESTTransacted.java
View file @
16dbc60f
...
@@ -51,7 +51,7 @@ public class ClientRESTTransacted extends TestCase {
...
@@ -51,7 +51,7 @@ public class ClientRESTTransacted extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
// test transacted producer
// test transacted producer
transactedProd
();
transactedProd
();
...
...
tests/src/joram/rest/JmxREST.java
View file @
16dbc60f
...
@@ -51,7 +51,7 @@ public class JmxREST extends TestCase {
...
@@ -51,7 +51,7 @@ public class JmxREST extends TestCase {
startAgentServer
((
short
)
0
);
startAgentServer
((
short
)
0
);
// wait REST bundle
// wait REST bundle
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
1
0
);
Helper
.
waitConnection
(
Helper
.
getBaseJmsURI
(),
2
0
);
ClientConfig
config
=
new
ClientConfig
();
ClientConfig
config
=
new
ClientConfig
();
Client
client
=
ClientBuilder
.
newClient
(
config
);
Client
client
=
ClientBuilder
.
newClient
(
config
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment