Skip to content

Commit

Permalink
Update regression tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tshead2 committed Jun 1, 2022
1 parent eb6cf4a commit 49764a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 11 additions & 6 deletions features/socket.feature
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,14 @@ Feature: SocketCommunicator

Examples:
| players | exception |
| 2 | RuntimeError("boo!") |
| 4 | RuntimeError("boo!") |
| 8 | RuntimeError("boo!") |
| 16 | RuntimeError("boo!") |
| 32 | RuntimeError("boo!") |
| 64 | RuntimeError("boo!") |
| 2 | RuntimeError("Doh!") |
| 4 | RuntimeError("Doh!") |
| 8 | RuntimeError("Doh!") |
| 16 | RuntimeError("Doh!") |
| 32 | RuntimeError("Doh!") |
| 64 | RuntimeError("Doh!") |

@wip
Examples:
| players | exception |
| 128 | RuntimeError("Doh!") |
1 change: 0 additions & 1 deletion features/steps/socket_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@ def step_impl(context, exception):
exception = eval(exception)

def operation(communicator, exception):
communicator.barrier()
raise exception

context.results = SocketCommunicator.run(world_size=context.players, fn=operation, args=(exception,), identities=None, trusted=None, startup_timeout=10)
Expand Down

0 comments on commit 49764a5

Please sign in to comment.