Skip to content

Commit

Permalink
add drop table before create table
Browse files Browse the repository at this point in the history
  • Loading branch information
kongquan committed Aug 1, 2019
1 parent f0b6284 commit a0ac040
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public void testNsInitByConfig() {
public void testAllFlow() {
Random rand = new Random(System.currentTimeMillis());
String tname = rand.nextInt() + "tname";
nsc.dropTable(tname);
PartitionMeta pm = PartitionMeta.newBuilder().setEndpoint(nodes[0]).setIsLeader(true).build();
TablePartition tp = TablePartition.newBuilder().addPartitionMeta(pm).setPid(0).build();
TableInfo tableInfo = TableInfo.newBuilder().setName(tname).setSegCnt(8).addTablePartition(tp).build();
Expand Down

0 comments on commit a0ac040

Please sign in to comment.