Fix configs_table
@@ -38,9 +38,9 @@ async fn test_configs_table() -> Result<()> {
assert_eq!(block.num_rows(), 60);
let expected = vec![
- "+--------------------------------------+------------------+---------+-------------+",
+ "+--------------------------------------+--------------------------+---------+-------------+",
"| name | value | group | description |",
- "+--------------------------------------+------------------+---------+-------------+",
+ "+--------------------------------------+--------------------------+---------+-------------+",
"| api_tls_server_cert | | query | |",
"| api_tls_server_key | | query | |",
"| api_tls_server_root_ca_cert | | query | |",
@@ -64,6 +64,7 @@ async fn test_configs_table() -> Result<()> {
"| jwt_key_file | | query | |",
"| log_dir | ./_logs | log | |",
"| log_level | INFO | log | |",
+ "| management_mode | false | query | |",
"| max_active_sessions | 256 | query | |",
"| max_query_log_size | 10000 | query | |",
"| meta_address | | meta | |",
@@ -75,7 +76,6 @@ async fn test_configs_table() -> Result<()> {
"| mysql_handler_host | 127.0.0.1 | query | |",
"| mysql_handler_port | 3307 | query | |",
"| num_cpus | 8 | query | |",
- "| management_mode | false | query | |",
"| rpc_tls_meta_server_root_ca_cert | | meta | |",
"| rpc_tls_meta_service_domain_name | localhost | meta | |",
"| rpc_tls_query_server_root_ca_cert | | query | |",
@@ -85,7 +85,7 @@ async fn test_configs_table() -> Result<()> {
"| s3.access_key_id | | storage | |",
"| s3.bucket | | storage | |",
"| s3.enable_pod_iam_policy | false | storage | |",
- "| s3.endpoint_url | | storage | |",
+ "| s3.endpoint_url | https://s3.amazonaws.com | storage | |",
"| s3.region | | storage | |",
"| s3.secret_access_key | | storage | |",
"| storage_type | disk | storage | |",
@@ -101,7 +101,7 @@ async fn test_configs_table() -> Result<()> {
"| table_memory_cache_mb_size | 256 | query | |",
"| tenant_id | test | query | |",
"| wait_timeout_mills | 5000 | query | |",
- "+--------------------------------------+------------------+---------+-------------+",
+ "+--------------------------------------+--------------------------+---------+-------------+",
];
common_datablocks::assert_blocks_sorted_eq(expected, result.as_slice());
Ok(())
