testing: don't create pushlog Kafka topic
authorGregory Szorc <gps@mozilla.com>
Fri, 08 Jan 2016 14:33:03 -0800
changeset 362079 36bf901845b9ac084a5bd9d6de73b727f5bb3a11
parent 362078 04fe92f9ec0c4dec280b5bb9cf06c0778bebe000
child 362080 05e8212f9aad03d5e2400357807448b306c99584
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
testing: don't create pushlog Kafka topic It isn't used. It just adds overhead.
hgserver/tests/helpers.sh
--- a/hgserver/tests/helpers.sh
+++ b/hgserver/tests/helpers.sh
@@ -28,17 +28,16 @@ Host *
   StrictHostKeyChecking no
   PasswordAuthentication no
   PreferredAuthentications publickey
   UserKnownHostsFile `pwd`/ssh-known-hosts
   ForwardX11 no
 EOF
 
   hgmo exec hgssh /opt/kafka/bin/kafka-topics.sh --create --topic pushdata --zookeeper ${ZOOKEEPER_CONNECT} --partitions 8 --replication-factor 3 --config min.insync.replicas=2 --config unclean.leader.election.enable=false --config max.message.bytes=104857600 > /dev/null
-  hgmo exec hgssh /opt/kafka/bin/kafka-topics.sh --create --topic pushlog --zookeeper ${ZOOKEEPER_CONNECT} --partitions 1 --replication-factor 3 --config min.insync.replicas=2 --config unclean.leader.election.enable=false --config max.message.bytes=104857600 > /dev/null
 }
 
 standarduser() {
   hgmo create-ldap-user user@example.com testuser 1500 'Test User' --key-file testuser --scm-level 1
   cat >> $HGRCPATH << EOF
 [ui]
 ssh = ssh -F `pwd`/ssh_config -i `pwd`/testuser -l user@example.com
 EOF