Skip to content

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented Sep 6, 2017

This test used to have fixed-sized arrays for the mounts that it was checking. However, we periodically run across machines with more mounts than can fit into those fixed-size arrays. Rather than periodically increasing the size of those arrays (after re-discovering that the error is due to fixed-size arrays), just count how many entries there are and make arrays that are big enough.

Additionally, add a check to ensure that we don't go over the max size of the array when reading/filling them.

Signed-off-by: Jeff Squyres [email protected]
(cherry picked from commit dee8cfb)

This test used to have fixed-sized arrays for the mounts that it was
checking.  However, we periodically run across machines with more
mounts than can fit into those fixed-size arrays.  Rather than
periodically increasing the size of those arrays (after re-discovering
that the error is due to fixed-size arrays), just count how many
entries there are and make arrays that are big enough.

Additionally, add a check to ensure that we don't go over the max size
of the array when reading/filling them.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit dee8cfb)
@jsquyres
Copy link
Member Author

jsquyres commented Sep 6, 2017

This PR will fix the false failure CI on #4167.

@jjhursey
Copy link
Member

jjhursey commented Sep 6, 2017

@jsquyres Note that the failure in PR #4167 seems to have fixed itself in the mean time.

@bwbarrett bwbarrett merged commit 090a7f4 into open-mpi:v3.0.x Sep 6, 2017
@jsquyres jsquyres deleted the pr/v3.0.x/fix-opal-nfs-test branch September 6, 2017 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants