diff --git a/test/tap/tests/README.md b/test/tap/tests/README.md new file mode 100644 index 0000000000..a34fe9b621 --- /dev/null +++ b/test/tap/tests/README.md @@ -0,0 +1,13 @@ +## Warning Count Logging in ProxySQL TAP Tests + +With the exception of a few, all TAP tests are now geared up to log warning count and the query that triggered the warning during its execution. + +## Working + +The method for extracting both the warning count and the associated query in all TAP tests involves overriding of specific APIs of MariaDB client library. This method facilitates the seamless extraction of both the warning count and the query. + +## Default Settings + +By default, the logging of both the warning count and the associated query is activated for all TAP tests. + +However, there are specific tests where logging is intentionally disabled. If needed, you have the flexibility to disable the logging by defining the preprocessor directive 'DISABLE_WARNING_COUNT_LOGGING'.