Skip to content

Commit 2c0f039

Browse files
authored
Merge pull request #30693 from def-/pr-rehydr-4
0dt test: Increase allowed time for SELECT after rehydration
2 parents ae98777 + 2e1417e commit 2c0f039

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/0dt/mzcompose.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ def workflow_kafka_source_rehydration(c: Composition) -> None:
962962
duration = time.time() - start_time
963963
assert result[0][0] == count * repeats, f"Wrong result: {result}"
964964
assert (
965-
duration < 2
965+
duration < 4
966966
), f"Took {duration}s to SELECT on Kafka source after 0dt upgrade, is it hydrated?"
967967

968968

@@ -1076,7 +1076,7 @@ def workflow_pg_source_rehydration(c: Composition) -> None:
10761076
duration = time.time() - start_time
10771077
assert result[0][0] == count * repeats, f"Wrong result: {result}"
10781078
assert (
1079-
duration < 2
1079+
duration < 4
10801080
), f"Took {duration}s to SELECT on Postgres source after 0dt upgrade, is it hydrated?"
10811081

10821082

@@ -1191,7 +1191,7 @@ def workflow_mysql_source_rehydration(c: Composition) -> None:
11911191
duration = time.time() - start_time
11921192
assert result[0][0] == count * repeats, f"Wrong result: {result}"
11931193
assert (
1194-
duration < 2
1194+
duration < 4
11951195
), f"Took {duration}s to SELECT on MySQL source after 0dt upgrade, is it hydrated?"
11961196

11971197

0 commit comments

Comments
 (0)