private static int getCountNum(String device, int cnt) {
    int index = 0;
    for (int i = 0; i < places.length; i++) {
      if (places[i].equals(device)) {
        index = i;
        break;
      }
    }

    return countIn1000MSFiledWith100MSTimeGap[index][cnt];
  }
This method generate test data with crossing time.

<p>The data can be viewed in online doc:

<p>https://docs.google.com/spreadsheets/d/18XlOIi27ZIIdRnar2WNXVMxkZwjgwlPZmzJLVpZRpAA/edit#gid=0
integration-test/src/test/java/org/apache/iotdb/db/it/alignbydevice/IoTDBOrderByWithAlignByDeviceIT.java