Skip to content

Commit

Permalink
Added README
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Nov 28, 2023
1 parent 8606742 commit 676c6df
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/tap/tests/README.md
Original file line number Diff line number Diff line change
@@ -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'.

0 comments on commit 676c6df

Please sign in to comment.