Skip to content

Commit

Permalink
enable determinism test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jul 25, 2024
1 parent ef7ea0b commit 817b255
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,13 +899,11 @@ def test_number_symbolic_tags_bare_classes(ctx_factory):
outputs = pt.make_dict_of_named_arrays({"out": res})
partition = pt.find_distributed_partition(comm, outputs)

(_distp, next_tag) = pt.number_distributed_tags(comm, partition, base_tag=4242)
(distp, next_tag) = pt.number_distributed_tags(comm, partition, base_tag=4242)

assert next_tag == 4244

# FIXME: For the next assertion, find_distributed_partition needs to be
# deterministic too (https://github.com/inducer/pytato/pull/465).
# assert next(iter(distp.parts[0].name_to_send_nodes.values()))[0].comm_tag == 4242 # noqa: E501
assert next(iter(distp.parts[0].name_to_send_nodes.values()))[0].comm_tag == 4242

# }}}

Expand Down

0 comments on commit 817b255

Please sign in to comment.