Skip to content

Commit

Permalink
Fix ut.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaihui committed Jan 31, 2024
1 parent acaef11 commit a7ebebc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions fed/tests/test_cross_silo_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,17 +290,6 @@ def run6(party: str):
a = error_func.party('alice').remote()
b = normal_func.party('bob').remote(a)

# Wait a while to sure alice finish sending error and exit.
import time

time.sleep(10)

# Alice did not execute the following codes.
data = normal_func.party('alice').remote(1)
c = normal_func.party('bob').remote(data)
# Bob was going to send c to alice but alice won't send `data` to bob since alice exited already.
normal_func.party('alice').remote(c)

# Bob got the error.
fed.get(b)
finally:
Expand Down

0 comments on commit a7ebebc

Please sign in to comment.