mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
open the switch to get codecov test coverage (#1671)
* add codecov for test coverage
This commit is contained in:
@@ -7,6 +7,7 @@ import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.alibaba.otter.canal.protocol.position.Position;
|
||||
@@ -141,6 +142,7 @@ public class MemoryEventStoreMemBatchTest extends MemoryEventStoreBase {
|
||||
eventStore.stop();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void testBlockPutOneGet() {
|
||||
final MemoryEventStoreWithBuffer eventStore = new MemoryEventStoreWithBuffer();
|
||||
|
||||
@@ -11,6 +11,7 @@ import org.apache.commons.lang.math.RandomUtils;
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
@@ -24,7 +25,7 @@ import com.alibaba.otter.canal.store.model.Events;
|
||||
|
||||
/**
|
||||
* 多线程的put/get/ack/rollback测试
|
||||
*
|
||||
*
|
||||
* @author jianghang 2012-6-20 下午02:50:36
|
||||
* @version 1.0.0
|
||||
*/
|
||||
@@ -48,7 +49,7 @@ public class MemoryEventStoreMultiThreadTest extends MemoryEventStoreBase {
|
||||
public void tearDown() {
|
||||
eventStore.stop();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void test() {
|
||||
CountDownLatch latch = new CountDownLatch(1);
|
||||
|
||||
Reference in New Issue
Block a user