Skip to content

Commit

Permalink
[chore](test) adjust timeout for some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jul 13, 2024
1 parent efb73c3 commit 0445174
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ suite("test_etl_failed", "load_p0") {
def max_try_milli_secs = 600000
while (max_try_milli_secs > 0) {
String[][] result = sql """ show load where label="$label" order by createtime desc limit 1; """
logger.info("Load result: " + result[0])
if (result[0][2].equals("FINISHED")) {
logger.info("Load FINISHED " + label)
assertTrue(1 == 2, "etl should be failed")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ suite("test_load_block_to_single_tablet", "p0") {
set 'partitions', 'p202403, p202404'

file 'test_load_block_to_single_tablet.csv'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}

sql "sync"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}

sql "sync"
Expand Down Expand Up @@ -89,7 +89,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}
sql "sync"
totalCount = sql "select count() from ${tableName}"
Expand All @@ -116,7 +116,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}
sql "sync"
totalCount = sql "select count() from ${tableName}"
Expand Down Expand Up @@ -169,7 +169,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}

sql "sync"
Expand Down Expand Up @@ -220,7 +220,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}
sql "sync"
totalCount = sql "select count() from ${tableName}"
Expand Down Expand Up @@ -255,7 +255,7 @@ suite("test_load_to_single_tablet", "p0") {
set 'load_to_single_tablet', 'true'

file 'test_load_to_single_tablet.json'
time 10000 // limit inflight 10s
time 20000 // limit inflight 10s
}
sql "sync"
totalCount = sql "select count() from ${tableName}"
Expand Down

0 comments on commit 0445174

Please sign in to comment.