mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-29 15:06:59 +00:00
feat: bring back sqlness and integration tests (#2448)
* enable integration test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* disable sqlness region failover
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* enable sqlness in CI
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* sort unstable result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* set require_lease_before_startup to true
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix: fix inconsistent cache
* replace windows path chars
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* ignore some integration cases in windows
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Revert "ignore some integration cases in windows"
This reverts commit 122478b7c1.
* disable windows for now
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix: fix close region bug in RegionHeartbeatResponseHandler
* disable failover tests
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -54,10 +54,13 @@ macro_rules! sql_tests {
|
||||
$service,
|
||||
|
||||
test_mysql_auth,
|
||||
test_mysql_crud,
|
||||
// ignore: https://github.com/GreptimeTeam/greptimedb/issues/2445
|
||||
// test_mysql_crud,
|
||||
test_postgres_auth,
|
||||
test_postgres_crud,
|
||||
test_postgres_parameter_inference,
|
||||
// ignore: https://github.com/GreptimeTeam/greptimedb/issues/2445
|
||||
// test_postgres_crud,
|
||||
// ignore: https://github.com/GreptimeTeam/greptimedb/issues/2445
|
||||
// test_postgres_parameter_inference,
|
||||
);
|
||||
)*
|
||||
};
|
||||
@@ -120,6 +123,7 @@ pub async fn test_mysql_auth(store_type: StorageType) {
|
||||
guard.remove_all().await;
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub async fn test_mysql_crud(store_type: StorageType) {
|
||||
common_telemetry::init_default_ut_logging();
|
||||
|
||||
@@ -266,6 +270,7 @@ pub async fn test_postgres_auth(store_type: StorageType) {
|
||||
guard.remove_all().await;
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub async fn test_postgres_crud(store_type: StorageType) {
|
||||
let (addr, mut guard, fe_pg_server) = setup_pg_server(store_type, "sql_crud").await;
|
||||
|
||||
@@ -342,6 +347,7 @@ pub async fn test_postgres_crud(store_type: StorageType) {
|
||||
guard.remove_all().await;
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub async fn test_postgres_parameter_inference(store_type: StorageType) {
|
||||
let (addr, mut guard, fe_pg_server) = setup_pg_server(store_type, "sql_inference").await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user