Skip to content

Commit

Permalink
fix tests 2
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Neo <[email protected]>
  • Loading branch information
CalvinNeo committed Jan 2, 2025
1 parent 1d70b29 commit 4a57d45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions proxy_components/proxy_server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ pub struct ProxyConfig {
#[online_config(skip)]
pub enable_io_snoop: bool,

#[doc(hidden)]
#[online_config(skip)]
pub memory_usage_high_water: f64,

#[online_config(submodule)]
pub readpool: ReadPoolConfig,

Expand Down Expand Up @@ -430,7 +426,6 @@ pub fn address_proxy_config(config: &mut TikvConfig, proxy_config: &ProxyConfig)
config.storage.reserve_space = proxy_config.storage.reserve_space;

config.enable_io_snoop = proxy_config.enable_io_snoop;
config.memory_usage_high_water = proxy_config.memory_usage_high_water;

config.server.addr = proxy_config.server.addr.clone();
config.server.advertise_addr = proxy_config.server.advertise_addr.clone();
Expand Down
1 change: 0 additions & 1 deletion proxy_tests/proxy/shared/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ mod config {
ProxyConfig::from_file(path, Some(&mut proxy_unrecognized_keys)).unwrap();
assert_eq!(proxy_config.raft_store.snap_handle_pool_size, 4);
assert_eq!(proxy_config.server.engine_addr, "1.2.3.4:5");
assert_eq!(proxy_config.memory_usage_high_water, 0.65);
assert!(proxy_unrecognized_keys.contains(&"nosense".to_string()));
let v1 = vec!["a.b", "b"]
.iter()
Expand Down

0 comments on commit 4a57d45

Please sign in to comment.