File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mithril-test-lab/mithril-end-to-end/src/stress_test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ async fn send_signer_registration_request(
43
43
44
44
match response. status ( ) {
45
45
StatusCode :: CREATED => Ok ( ( ) ) ,
46
- StatusCode :: SERVICE_UNAVAILABLE if try_register_until_registration_round_is_open => {
46
+ status if status . as_u16 ( ) == 550 && try_register_until_registration_round_is_open => {
47
47
let error_message = response. text ( ) . await . unwrap ( ) ;
48
48
debug ! (
49
- "Error 503 (SERVICE_UNAVAILABLE ) for First signer registration, waiting 250ms before trying again" ;
49
+ "Error 550 (REGISTRATION_ROUND_NOT_YET_OPENED ) for First signer registration, waiting 250ms before trying again" ;
50
50
"error_message" => & error_message
51
51
) ;
52
52
tokio:: time:: sleep ( Duration :: from_millis ( 250 ) ) . await ;
You can’t perform that action at this time.
0 commit comments