Skip to content

Commit

Permalink
fix(upgrade-tests): enlarge timeout for truncate commands
Browse files Browse the repository at this point in the history
as suggested in scylladb/scylladb#22166, we make the truncate
commands timeout longer, to compensate on the fact scylla
can't support multiple truncate operation in parallel

Ref: scylladb/scylladb#22166
Ref: scylladb/scylladb#21946
  • Loading branch information
fruch committed Jan 13, 2025
1 parent da19d86 commit e57be0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdcm/fill_db_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3142,7 +3142,10 @@ def cql_create_tables(self, session):
# Refs: /~https://github.com/scylladb/scylla/issues/5235
time.sleep(30)
for truncate in truncates:
session.execute(truncate)
# timeout was enlarged cause of
# - /~https://github.com/scylladb/scylladb/issues/22166
# - /~https://github.com/scylladb/scylladb/issues/21946
session.execute(truncate, timeout=300)

@property
def parsed_scylla_version(self):
Expand Down

0 comments on commit e57be0a

Please sign in to comment.