Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RejectMeterEntryInsertDelete test failure (stratum#319)
The TdiTableManagerTest::RejectMeterEntryInsertDelete test case was failing because WriteMeterEntry() was returning UNKNOWN (2) instead of the expected ERR_INVALID_PARAM. The failure was in the second half of the test case (the DELETE check). The INSERT and DELETE checks are unrelated. The former involves validating the `type` parameter; the latter involves validating the meter entry. The two do not belong in the same test case. The objective is to fix a broken test case. Developing new ones is out of scope. Removed the DELETE check, renamed the test case to RejectMeterEntryInsert, and enabled it. Signed-off-by: Derek Foster <derek.foster@intel.com>
- Loading branch information