Permalink
Browse files

Ensure the test works with 255 personalities.

  • Loading branch information...
peternewman committed Oct 25, 2018
1 parent 9aa9e9b commit eb7ff0d02e4f7b2b4fc53863787f38231b486cf2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/rdm/TestDefinitions.py
@@ -1858,7 +1858,7 @@ def _GetPersonality(self):
self.Stop()
return
if self._current_index >= MAX_PERSONALITY_NUMBER:
if self._current_index > MAX_PERSONALITY_NUMBER:
# This should never happen because personality_count is a uint8
self.SetFailed('Could not find all personalities')
self.Stop()

0 comments on commit eb7ff0d

Please sign in to comment.