diff --git a/tests/mpi/eckit_test_mpi.cc b/tests/mpi/eckit_test_mpi.cc index cb900e2d6..6ce7e5961 100644 --- a/tests/mpi/eckit_test_mpi.cc +++ b/tests/mpi/eckit_test_mpi.cc @@ -8,6 +8,7 @@ * does it submit to any jurisdiction. */ +#include #include #include @@ -955,6 +956,8 @@ CASE("test_probe") { --count; } + std::sort(begin(data), end(data)); + for (int i = 0; i < nproc; i++) { EXPECT(i == data[i]); } @@ -1000,6 +1003,8 @@ CASE("test_iProbe") { --count; } + std::sort(begin(data), end(data)); + for (int i = 0; i < nproc; i++) { EXPECT(i == data[i]); }