Skip to content

Commit 7fa63b5

Browse files
committed
update
1 parent d67af64 commit 7fa63b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/node/src/pprof.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,13 +292,13 @@ mod tests {
292292
#[test]
293293
fn test_default_config() {
294294
let config = PprofConfig::default();
295-
assert_eq!(config.addr, "127.0.0.1:6060".parse::<SocketAddr>().unwrap());
295+
assert_eq!(config.addr, "0.0.0.0:6868".parse::<SocketAddr>().unwrap());
296296
assert_eq!(config.default_duration, 30);
297297
}
298298

299299
#[test]
300300
fn test_custom_config() {
301-
let addr = "0.0.0.0:7070".parse::<SocketAddr>().unwrap();
301+
let addr = "0.0.0.0:6868".parse::<SocketAddr>().unwrap();
302302
let config = PprofConfig::new(addr).with_default_duration(60);
303303
assert_eq!(config.addr, addr);
304304
assert_eq!(config.default_duration, 60);

0 commit comments

Comments
 (0)