updated automatic deployment test configuration
- with new tcp connection parameters
- fixed diezel dependency
diff --git a/build.gradle b/build.gradle
index 740b722..818b968 100644
--- a/build.gradle
+++ b/build.gradle
@@ -73,7 +73,7 @@
     jcip:               'net.jcip:jcip-annotations:1.0',
     junit:              'junit:junit:4.10',
     zkclient:           'com.github.sgroschupf:zkclient:0.1',
-    diezel:             'net.ericaro:diezel-maven-plugin:1.0.0-beta-4-SNAPSHOT'
+    diezel:             'net.ericaro:diezel-maven-plugin:1.0.0-beta-4'
 ]
 
 subprojects {
@@ -87,17 +87,17 @@
     targetCompatibility = 1.6
 
     checkstyleConfigFileName = "$rootDir/config/checkstyle/s4-checkstyle.xml"
-    
-    // The jmx points to a repo that is no longer available. We exclude these dependencies. 
+
+    // The jmx points to a repo that is no longer available. We exclude these dependencies.
     configurations {
         all*.exclude group: 'com.sun.jmx'
         all*.exclude group: 'com.sun.jdmk'
         all*.exclude group: 'javax.jms'
         all*.exclude group: 'javax.mail'
     }
-    
+
     dependencies {
-        
+
         /* Google. */
         compile( libraries.guava )
         compile( libraries.guice )
@@ -115,7 +115,7 @@
         /* Misc. */
         compile( libraries.jcip )
         compile( libraries.zk )
-		
+
         /* Testing. */
         testCompile( libraries.junit )
     }
diff --git a/subprojects/s4-comm/src/test/resources/default.s4.properties b/subprojects/s4-comm/src/test/resources/default.s4.properties
index 0e31dfa..5834d8d 100644
--- a/subprojects/s4-comm/src/test/resources/default.s4.properties
+++ b/subprojects/s4-comm/src/test/resources/default.s4.properties
@@ -1,9 +1,13 @@
 comm.queue_emmiter_size = 8000
 comm.queue_listener_size = 8000
+comm.retries=10
+comm.retry_delay=10
+comm.timeout=1000
+tcp.partition.queue_size=256
 cluster.hosts = localhost
 cluster.ports = 5077
 cluster.lock_dir = {user.dir}/tmp
 cluster.name = s4-test-cluster
 cluster.zk_address = localhost:2181
 cluster.zk_session_timeout = 10000
-cluster.zk_connection_timeout = 10000
\ No newline at end of file
+cluster.zk_connection_timeout = 10000
diff --git a/subprojects/s4-core/src/test/java/org/apache/s4/deploy/TestAutomaticDeployment.java b/subprojects/s4-core/src/test/java/org/apache/s4/deploy/TestAutomaticDeployment.java
index 279ccaa..1e26512 100644
--- a/subprojects/s4-core/src/test/java/org/apache/s4/deploy/TestAutomaticDeployment.java
+++ b/subprojects/s4-core/src/test/java/org/apache/s4/deploy/TestAutomaticDeployment.java
@@ -20,7 +20,6 @@
 import org.apache.s4.comm.tools.TaskSetup;
 import org.apache.s4.comm.topology.ZNRecord;
 import org.apache.s4.comm.topology.ZNRecordSerializer;
-import org.apache.s4.deploy.DistributedDeploymentManager;
 import org.apache.s4.fixtures.CommTestUtils;
 import org.apache.s4.fixtures.CoreTestUtils;
 import org.apache.zookeeper.CreateMode;
@@ -186,7 +185,7 @@
         record2.putSimpleField(DistributedDeploymentManager.S4R_URI, uri2);
         zkClient.create("/" + clusterName + "/apps/testApp2", record2, CreateMode.PERSISTENT);
 
-        Assert.assertTrue(signalApp1Initialized.await(10, TimeUnit.SECONDS));
+        Assert.assertTrue(signalApp1Initialized.await(20, TimeUnit.SECONDS));
         Assert.assertTrue(signalApp1Started.await(10, TimeUnit.SECONDS));
 
         Assert.assertTrue(signalApp2Initialized.await(10, TimeUnit.SECONDS));
diff --git a/subprojects/s4-core/src/test/resources/org.apache.s4.deploy.s4.properties b/subprojects/s4-core/src/test/resources/org.apache.s4.deploy.s4.properties
index 1b03f23..7d029a7 100644
--- a/subprojects/s4-core/src/test/resources/org.apache.s4.deploy.s4.properties
+++ b/subprojects/s4-core/src/test/resources/org.apache.s4.deploy.s4.properties
@@ -1,5 +1,9 @@
 comm.queue_emmiter_size = 8000
 comm.queue_listener_size = 8000
+comm.retries=10
+comm.retry_delay=10
+comm.timeout=1000
+tcp.partition.queue_size=256
 cluster.hosts = localhost
 cluster.ports = 5077
 cluster.name = s4-test-cluster
@@ -9,4 +13,3 @@
 comm.module = org.apache.s4.deploy.TestModule
 s4.logger_level = TRACE
 appsDir=/tmp/deploy-test
-tcp.partition.queue_size=256
\ No newline at end of file