Skip to content

Commit

Permalink
feat(tests-integration): add more region migration integration tests (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored Jan 4, 2024
1 parent d973cf8 commit f1a4750
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 14 deletions.
1 change: 1 addition & 0 deletions src/common/meta/src/ddl/table_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl TableMetadataAllocator {
};
Ok(table_route)
}

pub async fn create(
&self,
ctx: &TableMetadataAllocatorContext,
Expand Down
4 changes: 4 additions & 0 deletions tests-integration/tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ mod grpc;
mod http;
#[macro_use]
mod sql;
#[macro_use]
mod region_migration;
// #[macro_use]
// mod region_failover;

Expand All @@ -26,4 +28,6 @@ http_tests!(File, S3, S3WithCache, Oss, Azblob, Gcs);
// region_failover_tests!(File, S3, S3WithCache, Oss, Azblob);
sql_tests!(File);

region_migration_tests!(File);

// TODO(niebayes): add integration tests for remote wal.
Loading

0 comments on commit f1a4750

Please sign in to comment.