summaryrefslogtreecommitdiffstats
path: root/tests/DiagTalker.java
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-28 14:24:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-28 14:24:37 +0200
commit13d4a23e92996e24d6a833ca75d06428c5387aa4 (patch)
tree49d69b2c232ff94c627141fbaf9fdb6c57895f97 /tests/DiagTalker.java
parentfc3e56941ca6dbf401bee2f9dc0f9e4c5cd87f40 (diff)
downloadrsyslog-13d4a23e92996e24d6a833ca75d06428c5387aa4.tar.gz
rsyslog-13d4a23e92996e24d6a833ca75d06428c5387aa4.tar.xz
rsyslog-13d4a23e92996e24d6a833ca75d06428c5387aa4.zip
some more fixes for queue engine
The enhanced testbench now runs without failures, again
Diffstat (limited to 'tests/DiagTalker.java')
-rw-r--r--tests/DiagTalker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/DiagTalker.java b/tests/DiagTalker.java
index 85a6671e..04e12327 100644
--- a/tests/DiagTalker.java
+++ b/tests/DiagTalker.java
@@ -34,6 +34,7 @@ public class DiagTalker {
try {
diagSocket = new Socket(host, port);
+ diagSocket.setSoTimeout(0); /* wait for lenghty operations */
out = new PrintWriter(diagSocket.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(
diagSocket.getInputStream()));