Skip to content

Commit 11461d8

Browse files
Fix new CLI tests for tree-states (sigp#5132)
1 parent 262e5f2 commit 11461d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lighthouse/tests/beacon_node.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ fn network_port_flag_over_ipv4() {
899899
let port = 9000;
900900
CommandLineTest::new()
901901
.flag("port", Some(port.to_string().as_str()))
902+
.flag("unsafe-and-dangerous-mode", None)
902903
.run()
903904
.with_config(|config| {
904905
assert_eq!(
@@ -936,6 +937,7 @@ fn network_port_flag_over_ipv6() {
936937
CommandLineTest::new()
937938
.flag("listen-address", Some("::1"))
938939
.flag("port", Some(port.to_string().as_str()))
940+
.flag("unsafe-and-dangerous-mode", None)
939941
.run()
940942
.with_config(|config| {
941943
assert_eq!(
@@ -958,6 +960,7 @@ fn network_port_flag_over_ipv4_and_ipv6() {
958960
.flag("listen-address", Some("::1"))
959961
.flag("port", Some(port.to_string().as_str()))
960962
.flag("port6", Some(port6.to_string().as_str()))
963+
.flag("unsafe-and-dangerous-mode", None)
961964
.run()
962965
.with_config(|config| {
963966
assert_eq!(
@@ -987,6 +990,7 @@ fn network_port_flag_over_ipv4_and_ipv6() {
987990
.flag("listen-address", Some("::1"))
988991
.flag("port", Some(port.to_string().as_str()))
989992
.flag("port6", Some(port6.to_string().as_str()))
993+
.flag("unsafe-and-dangerous-mode", None)
990994
.run()
991995
.with_config(|config| {
992996
assert_eq!(

0 commit comments

Comments
 (0)