Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c2f46a

Browse files
committedJun 27, 2016
This BoundaryInfo test may fail on ParallelMesh
So let's only test it on SerialMesh
1 parent b13c255 commit 5c2f46a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎tests/mesh/boundary_info.C

+4-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ public:
6666
std::vector<boundary_id_type> bc_id_list;
6767
bi.build_side_list (element_id_list, side_list, bc_id_list);
6868

69-
// Check that there are now exactly 6 sides left in the BoundaryInfo
70-
CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(6), element_id_list.size());
69+
// Check that there are now exactly 6 sides left in the
70+
// BoundaryInfo for a replicated mesh
71+
if (_mesh->is_serial())
72+
CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(6), element_id_list.size());
7173

7274
// Remove the same id again, make sure nothing changes.
7375
bi.remove_id(0);

0 commit comments

Comments
 (0)
Please sign in to comment.