File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ async fn test_get_status() -> Result<()> {
4242 let res = mock_validator. do_get_status ( ) . await . expect ( "failed to get status" ) ;
4343 assert_eq ! ( res. status( ) , StatusCode :: OK ) ;
4444
45- // Expect two statuses since two relays in config + 2 on startup of the service
46- assert_eq ! ( mock_state. received_get_status( ) , 4 ) ;
45+ // Expect two statuses since two relays in config
46+ assert_eq ! ( mock_state. received_get_status( ) , 2 ) ;
4747 Ok ( ( ) )
4848}
4949
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ async fn test_mux() -> Result<()> {
7070 // Status requests should go to all relays
7171 info ! ( "Sending get status" ) ;
7272 assert_eq ! ( mock_validator. do_get_status( ) . await ?. status( ) , StatusCode :: OK ) ;
73- assert_eq ! ( mock_state. received_get_status( ) , 6 ) ; // default + 2 mux relays were used + 3 on startup of the service
73+ assert_eq ! ( mock_state. received_get_status( ) , 3 ) ; // default + 2 mux relays were used
7474
7575 // Register requests should go to all relays
7676 info ! ( "Sending register validator" ) ;
You can’t perform that action at this time.
0 commit comments