MDEV-39829/MDEV-33532 s3.debug test#5214
Open
grooverdan wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Code Review
This pull request make the s3.debug test reliable across curl versions. It reworks the counting of s3_test lines to test for $database/t1. To validate the s3_debug could be disabled search for $database/t2, and as there's NOT_FOUND as a result, the s3_debug was correctly disabled.
dcde7d0 to
96466a8
Compare
MDEV-39516 corrected the interface with curl particularly around passing options. After this the s3.debug actually enabled curl debugging like is was meant to. With this enabled, there are addition s3_test_ pattens in the result file, from the error log where curl correctly provide debug message. ps-protocol test also failed under MDEV-33532 where a differnet number of entries was recored. Correct variations by using the $databas/$table rather than just the s3_test_ pattern. As the purpose of this test is to check if s3_debug is dynamic, the second part of the test searches for a previously, under s3_debug=1, table t2 interaction, where the results should be NOT_FOUND. Remove count from the result file to allow for different curl versions and the possibiliy of being run under ps-protocol.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This test has incorrect results, ps-protocol and after fixing the curl interface.
Second last commit in BB is 10.11 that does s3 tests:
https://buildbot.mariadb.org/#/grid?branch=refs%2Fpull%2F5214%2Fhead