Skip to content

Commit 0935d2c

Browse files
committed
tests: Tighten up MPI test slightly
1 parent d88604f commit 0935d2c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/test_mpi.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,9 @@ def define(self, dimensions):
11871187
# serial case.
11881188
halo_types = (HaloUpdateCall, HaloUpdateList) if configuration['mpi'] else (HaloSpot,)
11891189

1190+
# Assert that HaloSpots etc are present, just not located within inner loops
1191+
assert len(FindNodes(halo_types).visit(op)) > 0
1192+
11901193
for i in incr_iterations:
11911194
assert len(FindNodes(halo_types).visit(i)) == 0
11921195

0 commit comments

Comments
 (0)