Skip to content

Commit

Permalink
[prober] update prober to support the new DSS version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shastick committed Mar 11, 2024
1 parent e10f857 commit 1923ddf
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions monitoring/prober/scd/test_operations_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def test_mutate_op1_bad_key(ids, scd_api, scd_session, scd_session2):
)
assert resp.status_code == 409, resp.content
missing_ops, _, _ = _parse_conflicts(resp.json())
assert ids(OP1_TYPE) in missing_ops
# We're mutating OP1, so OP2 should be missing
assert ids(OP2_TYPE) in missing_ops

req["key"] = [op1_ovn]
Expand All @@ -471,16 +471,6 @@ def test_mutate_op1_bad_key(ids, scd_api, scd_session, scd_session2):
assert not (op2_ovn in ovns)
assert not (op1_ovn in ovns)

req["key"] = [op2_ovn]
resp = scd_session.put(
"/operational_intent_references/{}/{}".format(ids(OP1_TYPE), op1_ovn), json=req
)
assert resp.status_code == 409, resp.content
missing_ops, _, ovns = _parse_conflicts(resp.json())
assert ids(OP1_TYPE) in missing_ops
assert not (op2_ovn in ovns)


# Successfully mutate Op1
# Preconditions:
# * Operation Op1 created by scd_session user
Expand Down

0 comments on commit 1923ddf

Please sign in to comment.