DMValidator compares the output of an operation to an expected state by traversing the json trees of each. When the leaf node is of type boolean, DMValidator always returns true even if the values differ.
Steps to reproduce
Write a new test case.
In the output include a boolean expected value.
Make sure the handler reports something different from the expected value.
Run the agent.
Run the test.
Observed behavior
DMValidator does not report an error.
Expected behavior
DMValidator should flag the test as a failure and catch the mismatch.
Version (please provide the following information):
Bug description
DMValidator compares the output of an operation to an expected state by traversing the json trees of each. When the leaf node is of type boolean, DMValidator always returns true even if the values differ.
Steps to reproduce
Observed behavior
DMValidator does not report an error.
Expected behavior
DMValidator should flag the test as a failure and catch the mismatch.
Version (please provide the following information):