Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test time limit more precise (TEST_MAX_TIME) #385

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configuration/conf/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
# BENCHMARK_WORK_MODE=testWithDefaultPath

# 对于数据写入或查询,限制最长耗时,设置为0表示无限制,单位为ms
# 对数据写入,最大误差约为WRITE_OPERATION_TIMEOUT_MS
# 对数据查询,最大误差约为READ_OPERATION_TIMEOUT_MS
# 此参数不限制预先注册元数据的耗时
# TEST_MAX_TIME=0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ private boolean ingestionOperation() {
}
}
for (int j = 0; j < innerLoop; j++) {
if (isStop.get()) {
return true;
}
IBatch batch = dataWorkLoad.getOneBatch();
if (checkBatch(batch)) {
dbWrapper.insertOneBatchWithCheck(batch);
Expand Down
Loading