Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ suite('test_schema_change_with_compaction1', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ suite('test_schema_change_with_compaction10', 'docker') {
GetDebugPoint().disableDebugPointForAllBEs(injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
def result = getJobState("date")
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
sleep(3000)
break
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ suite('test_schema_change_with_compaction11', 'docker') {


// cu compaction
tabletId = array[0].TabletId
def tabletId = array[0].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ suite('test_schema_change_with_compaction2', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ suite('test_schema_change_with_compaction3', 'p1,nonConcurrent') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -153,7 +153,7 @@ suite('test_schema_change_with_compaction3', 'p1,nonConcurrent') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -170,6 +170,7 @@ suite('test_schema_change_with_compaction3', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ suite('test_schema_change_with_compaction4', 'p1,nonConcurrent') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -153,7 +153,7 @@ suite('test_schema_change_with_compaction4', 'p1,nonConcurrent') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -170,6 +170,7 @@ suite('test_schema_change_with_compaction4', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ suite('test_schema_change_with_compaction5', 'docker') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -153,7 +153,7 @@ suite('test_schema_change_with_compaction5', 'docker') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -172,6 +172,7 @@ suite('test_schema_change_with_compaction5', 'docker') {
GetDebugPoint().disableDebugPointForAllBEs(injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ suite('test_schema_change_with_compaction6', 'docker') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -158,7 +158,7 @@ suite('test_schema_change_with_compaction6', 'docker') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -175,6 +175,7 @@ suite('test_schema_change_with_compaction6', 'docker') {
GetDebugPoint().disableDebugPointForAllBEs(injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ suite('test_schema_change_with_compaction7', 'p1,nonConcurrent') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -152,7 +152,7 @@ suite('test_schema_change_with_compaction7', 'p1,nonConcurrent') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -168,6 +168,7 @@ suite('test_schema_change_with_compaction7', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ suite('test_schema_change_with_compaction8', 'p1,nonConcurrent') {
DebugPoint.disableDebugPoint(injectBe.Host, injectBe.HttpPort.toInteger(), NodeType.BE, injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ suite('test_schema_change_with_compaction9', 'docker') {

// cu compaction
for (int i = 0; i < array.size(); i++) {
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
logger.info("run compaction:" + tabletId)
(code, out, err) = be_run_cumulative_compaction(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
Expand All @@ -154,7 +154,7 @@ suite('test_schema_change_with_compaction9', 'docker') {
running = true
do {
Thread.sleep(100)
tabletId = array[i].TabletId
def tabletId = array[i].TabletId
(code, out, err) = be_get_compaction_status(injectBe.Host, injectBe.HttpPort, tabletId)
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand All @@ -174,6 +174,7 @@ suite('test_schema_change_with_compaction9', 'docker') {
GetDebugPoint().disableDebugPointForAllBEs(injectName)
}
int max_try_time = 3000
def result = null
while (max_try_time--){
result = getJobState("date")
if (result == "FINISHED" || result == "CANCELLED") {
Expand Down
Loading