Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(root.createClusters): Use request-timeout parameter for Oracle #323

Merged
merged 1 commit into from
May 29, 2023

Conversation

aleksbykov
Copy link
Contributor

Oracle cluster use fixed request timeout 120s, while test cluster user configurable request timeout provided by --request-timeout parameter. This cause request time for queries to oracle cluster for MV, SI.

Set same parameter for Oracle cluster

@@ -371,7 +371,7 @@ func createClusters(
return testCluster, nil
}
oracleCluster := gocql.NewCluster(oracleClusterHost...)
oracleCluster.Timeout = 120 * time.Second
oracleCluster.Timeout = requestTimeout
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the connectTimeout? It is also not set here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

Oracle cluster use fixed request timeout 120s, while test cluster
user configurable request timeout provided by --request-timeout
parameter. This cause request time for queries to oracle cluster
for MV, SI.

Set same parameter for Oracle cluster
@dkropachev dkropachev merged commit 63cd744 into scylladb:master May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants