Skip to content

More Service Status testing #1224

Closed
Closed

Description

@mattmoor

@dprotaso enumerated a lot of good tests here


I would suggest more granularity and test the scenarios below. Let me know if it's too pedantic. I'm suggesting this because there's no test for when a configuration fails and recovers. And there's some overlap testing the route failure flow in TestTypicalServiceFlow and TestRouteFailurePropagation

Each bullet point would be a scenario to test given the conditions when ...

service happy flow

when the service ready condition is unknown

  • route ready condition becomes true
  • configuration ready condition becomes true
  • both route and configuration ready condition becomes true

failure propagation

when the service ready condition is true
and both route & configuration ready conditions are true

  • route ready condition becomes false
  • configuration ready condition becomes false

configuration recovery

when the service ready condition is false
and route ready condition is true
and configuration ready condition is false

  • configuration ready condition becomes true

route recovery

when the service ready condition is false
and route ready condition is false
and configuration ready condition is true

  • route ready condition becomes true

Activity

  1. added
    area/API
    kind/feature
    on Jun 15, 2018
  2. dprotaso commented on Jun 15, 2018

    @dprotaso
    Member

    More test cases from here: #1222

    unknown propagation

    when the service ready condition is true
    and both route & configuration ready conditions are true

    • route ready condition becomes unknow
    • configuration ready condition becomes unknown
  3. added 2 commits that reference this issue on Jul 19, 2018
    a062f0a
    1afeace
  4. added a commit that references this issue on Jul 25, 2018
    65577f3
  5. added a commit that references this issue on Aug 2, 2018
    efe5e4f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/APIkind/feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions