-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Increase test timeout for TestKafkaStorage #2873
Increase test timeout for TestKafkaStorage #2873
Conversation
Signed-off-by: Jacob Goldsworthy <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2873 +/- ##
==========================================
- Coverage 95.97% 95.95% -0.03%
==========================================
Files 223 223
Lines 9685 9685
==========================================
- Hits 9295 9293 -2
- Misses 322 324 +2
Partials 68 68
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about using the ACK-ed writes?
@@ -36,7 +36,7 @@ import ( | |||
) | |||
|
|||
const ( | |||
iterations = 30 | |||
iterations = 40 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go to 100
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acked writes didn't seem to help unfortunately. I attempted to switch the acks to "local" as well as "all" to no avail. I'm guessing the ack never actually comes into effect because there is probably a timeout on the message transfer that is greater than the test time we have set. I ran kafkacat to see if the spans ever made it to the cluster and it seemed like the messages would always make it after some time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
… 2760-flaky-kafka-storage-test
Signed-off-by: Jacob Goldsworthy <[email protected]>
Pull request has been modified.
thanks @LostLaser |
* Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]>
* Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]>
* Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]>
* Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]>
* Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]>
* Add remote read clusters option to elasticsearch to enable cross-cluster querying Co-authored-by: allen13 <[email protected]> Signed-off-by: David Grizzanti <[email protected]> * Increase test timeout for TestKafkaStorage (#2873) * Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]> * Rename indexName to indexPrefix; short circuit addRemoteReadClusters when remoteReadClusters is emtpy Signed-off-by: David Grizzanti <[email protected]> * Add more test cases for remoteReadClusters with Archive: true and UseReadWriteAliases: true Signed-off-by: David Grizzanti <[email protected]> * Removing unnecessary changes from this PR Signed-off-by: David Grizzanti <[email protected]> * Increase test timeout for TestKafkaStorage (#2873) * Increasing test timeout to allow for trace storage settle Signed-off-by: Jacob Goldsworthy <[email protected]> * Updating max storage test wait time to 10 seconds Signed-off-by: Jacob Goldsworthy <[email protected]> Signed-off-by: David Grizzanti <[email protected]> * Update variable name for consistency Signed-off-by: David Grizzanti <[email protected]> * Fix index prefix name Signed-off-by: David Grizzanti <[email protected]> * Prevent remoteReadClusters from being []string{""} when no remote clusters are provided Signed-off-by: David Grizzanti <[email protected]> Co-authored-by: allen13 <[email protected]> Co-authored-by: Jacob G <[email protected]>
Signed-off-by: Jacob Goldsworthy [email protected]
Which problem is this PR solving?
Short description of the changes