diff options
author | Jim Hahn <jrh3@att.com> | 2019-05-10 10:19:43 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-05-10 10:45:00 -0400 |
commit | f9b1e7a0cd418738375505a9269f50f903d459ad (patch) | |
tree | 1aed0143bdefd7d31ab1d631e43c811469581500 /testsuites | |
parent | 2de7e5642b9a61566e7e6ad52ccdcb5798f0924f (diff) |
Return 200 when policy successfully undeployed
The PAP Undeploy CSIT was failing, because it was returning 400.
The code was counting PDP UPDATE requests to determine whether or
not the policy had been found. However, if a subgroup currently
has no PDPs assigned (as is the case with the CSIT), then there
will be no PDP UPDATEs, thus it will think that the policy was
not found and return 400. Modified the code to count updates to
the DB instead.
Change-Id: I80cdcc738e07c418e0a7184284e7a228e3a6014d
Issue-ID: POLICY-1758
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'testsuites')
0 files changed, 0 insertions, 0 deletions