Skip to content

Commit

Permalink
default val for Grpc config
Browse files Browse the repository at this point in the history
  • Loading branch information
paer committed Jul 10, 2023
1 parent 582f523 commit cdc1996
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_exit_on_failure_sending.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import fed
import fed._private.compatible_utils as compatible_utils

from fed.config import CrossSiloCommConfig
from fed.config import CrossSiloGrpcCommConfig

import signal

Expand Down Expand Up @@ -63,7 +63,7 @@ def run(party, is_inner_party):
"backoffMultiplier": 1,
"retryableStatusCodes": ["UNAVAILABLE"],
}
cross_silo_comm_config = CrossSiloCommConfig(
cross_silo_comm_config = CrossSiloGrpcCommConfig(
grpc_retry_policy=retry_policy,
exit_on_sending_failure=True
)
Expand All @@ -90,4 +90,5 @@ def test_exit_when_failure_on_sending():


if __name__ == "__main__":
sys.exit(pytest.main(["-sv", __file__]))
# sys.exit(pytest.main(["-sv", __file__]))
test_exit_when_failure_on_sending()

0 comments on commit cdc1996

Please sign in to comment.