package com.taobao.meta.test.ha;
import org.junit.Test;
/**
*
* @author ��
* @since 2011-7-12 ����01:48:25
*/
public class OneMasterNProducerNConsumerTest extends HABaseMetaTest {
private final String topic = "meta-test";
@Test
public void sendConsume() throws Exception {
this.startServer("server2");
this.create_nProducer(10);
// ������Ϣ
final int count = 5;
this.sendMessage_nProducer(count, "hello", this.topic, 10);
// ���Ľ�����Ϣ����֤������ȷ
this.subscribe_nConsumer(this.topic, 1024 * 1024, count, 10, 10);
}
}