mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 02:10:38 +00:00
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 <realevenyag@gmail.com> * 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 <realevenyag@gmail.com>
This commit is contained in:
@@ -145,7 +145,7 @@ enum PyValue {
|
||||
}
|
||||
|
||||
impl PyValue {
|
||||
/// compare if results is just as expect, not using PartialEq because it is not transtive .e.g. [1,2,3] == len(3) == [4,5,6]
|
||||
/// compare if results is just as expect, not using PartialEq because it is not transitive .e.g. [1,2,3] == len(3) == [4,5,6]
|
||||
fn just_as_expect(&self, other: &Self) -> bool {
|
||||
match (self, other) {
|
||||
(PyValue::FloatVec(a), PyValue::FloatVec(b)) => a
|
||||
|
||||
Reference in New Issue
Block a user