-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: customize channel information for sqlness tests (#4729)
* feat: add pg and mysql server_address options * feat: start pg and mysql server(standalone) * feat: start pg and mysql in distribute * feat: finally get there, specify postgres sqlness * feat: support mysql sqlness * fix: license * fix: remove unused import * fix: toml * fix: clippy * refactor: BeginProtocolInterceptorFactory to ProtocolInterceptorFactory * fix: sqlness pg connect * fix: clippy * Apply suggestions from code review Co-authored-by: Yingwen <[email protected]> * fix: rustfmt * fix: reconnect pg and mysql when restart * test: add mysql related sqlness * fix: wait for start while restarting * fix: clippy * fix: cargo lock conflict fix: Cargo.lock conflict * fix: usage of '@@tx_isolation' in sqlness * fix: typos * feat: retry with backoff when create client * fix: use millisecond rather than microseconds in backoff --------- Co-authored-by: Yingwen <[email protected]>
- Loading branch information
1 parent
caf5f2c
commit 47a3277
Showing
12 changed files
with
1,127 additions
and
368 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-- SQLNESS PROTOCOL MYSQL | ||
SELECt @@tx_isolation; | ||
|
||
+-----------------+ | ||
| @@tx_isolation; | | ||
+-----------------+ | ||
| 0 | | ||
+-----------------+ | ||
|
||
-- SQLNESS PROTOCOL MYSQL | ||
SELECT @@version_comment; | ||
|
||
+--------------------+ | ||
| @@version_comment; | | ||
+--------------------+ | ||
| 0 | | ||
+--------------------+ | ||
|
||
-- SQLNESS PROTOCOL MYSQL | ||
SHOW DATABASES; | ||
|
||
+--------------------+ | ||
| Database | | ||
+--------------------+ | ||
| greptime_private | | ||
| information_schema | | ||
| public | | ||
+--------------------+ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- SQLNESS PROTOCOL MYSQL | ||
SELECt @@tx_isolation; | ||
|
||
-- SQLNESS PROTOCOL MYSQL | ||
SELECT @@version_comment; | ||
|
||
-- SQLNESS PROTOCOL MYSQL | ||
SHOW DATABASES; |
This file contains 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
Oops, something went wrong.