Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
798a93b0
Commit
798a93b0
authored
Jul 12, 2011
by
Guillaume Surrel
Browse files
Add a timer to the connection factory to let the server start.
parent
a5c0fffc
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/src/joram/distribution/DistributionTest.java
View file @
798a93b0
...
...
@@ -55,6 +55,7 @@ public class DistributionTest extends TestCase {
startAgentServer
((
short
)
0
);
ConnectionFactory
cf
=
TcpConnectionFactory
.
create
(
"localhost"
,
2560
);
((
org
.
objectweb
.
joram
.
client
.
jms
.
ConnectionFactory
)
cf
).
getParameters
().
connectingTimer
=
60
;
AdminModule
.
connect
(
cf
);
Properties
prop
=
new
Properties
();
...
...
tests/src/joram/distribution/DistributionTest2.java
View file @
798a93b0
...
...
@@ -59,6 +59,7 @@ public class DistributionTest2 extends TestCase {
startAgentServer
((
short
)
0
);
ConnectionFactory
cf
=
TcpConnectionFactory
.
create
(
"localhost"
,
2560
);
((
org
.
objectweb
.
joram
.
client
.
jms
.
ConnectionFactory
)
cf
).
getParameters
().
connectingTimer
=
60
;
AdminModule
.
connect
(
cf
);
Properties
prop
=
new
Properties
();
...
...
Write
Preview
Supports
Markdown
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