Menu

#1913 log: improve test cases for log service

5.2.FC
fixed
nobody
None
enhancement
log
tests
major
2016-11-03
2016-07-14
No

Most test cases for the log service are made in a simplified way compared to how the log service should be handled when used by an application. Because of such simplifications test cases may report FAIL or even abort also if the log service not actually has failed. To get rid of this problem there are two things that should be improved:

1) Many (all) of the APIs may return SA_AIS_ERR_TRY_AGAIN this is not a fault and should normally not fail a test case instead proper TRY AGAIN handling should be used with all API function calls.
2) Several test cases have dependency on other test cases. Will make them independence on others.
3) Many test cases do change settings such as IMM attribute values before running tests, but not restore them back to previous values.

Related

Tickets: #1913

Discussion

  • Canh Truong

    Canh Truong - 2016-07-14
    • status: unassigned --> accepted
    • assigned_to: Canh Truong
     
  • Canh Truong

    Canh Truong - 2016-08-11
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-08-30
    • Milestone: 5.1.FC --> 5.2.FC
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-09-20
    • status: review --> accepted
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-09-20

    Change status to accept. Need to figure out the better way to refactor the test code.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-10-20
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-11-03
    • status: review --> fixed
    • assigned_to: Canh Truong --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-11-03

    changeset: 8283:e9741e30573c
    tag: tip
    user: Canh Van Truong canh.v.truong@dektech.com.au
    date: Thu Nov 03 13:41:14 2016 +0700
    summary: log: improve test cases for log service [#1913]

     

    Related

    Tickets: #1913


Log in to post a comment.