Skip to content

Commit 51021ea

Browse files
committed
add version control for group commit
1 parent 0f037cf commit 51021ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/alipay/oceanbase/rpc/ObTableGroupCommitTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import com.alipay.oceanbase.rpc.property.Property;
2121
import com.alipay.oceanbase.rpc.util.ObTableClientTestUtil;
2222
import org.junit.Assert;
23+
import org.junit.Assume;
2324
import org.junit.Before;
2425
import org.junit.Test;
2526

@@ -55,6 +56,7 @@ PRIMARY KEY (`c1`)
5556
**/
5657
@Test
5758
public void test_group_commit() throws Exception {
59+
Assume.assumeTrue("support after ob version 4.2.5", ObGlobal.OB_VERSION >= ObGlobal.calcVersion(4,(short)2,(byte)5,(byte)0));
5860
String tableName = "test_varchar_table";
5961
long executeTime = 10000; // 10s
6062
int threadCnt = 100;

0 commit comments

Comments
 (0)