(tid int64, splitNum []int)
| 89 | } |
| 90 | |
| 91 | func generateTableSplitKeyForInt(tid int64, splitNum []int) [][]byte { |
| 92 | results := make([][]byte, 0, len(splitNum)) |
| 93 | for _, num := range splitNum { |
| 94 | results = append(results, tablecodec.EncodeRowKey(tid, codec.EncodeInt(nil, int64(num)))) |
| 95 | } |
| 96 | return results |
| 97 | } |
| 98 | |
| 99 | func TestLimitAndTableScan(t *testing.T) { |
| 100 | t.Skip("not stable because coprocessor may result in goroutine leak") |
no test coverage detected