mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 12:17:02 +00:00
After starting the associated node, ScyllaServer waits until the node starts serving CQL requests. It does that by periodically trying to establish a python driver session to the node. During session establishment, the driver tries to fetch some metadata from the system tables, and uses a pretty short timeout to do so (by default it's 2 seconds). When running tests in debug mode, this timeout can prove to be too short and may prevent the testing framework from noticing that the node came up. Fix the problem by increasing the timeout. Currently, after the session is established, a query is sent in order to further verify that the session works and it uses a very generous timeout of 1000 seconds to do so - use the same timeout for internal queries in the python driver. Fixes: scylladb/scylladb#15898 Closes scylladb/scylladb#15929