Skip to content

chore(tests): add test for chained exceptions (ApiException cause and context) in common module. #99

Description

@modichika

Description:

As discussed , #6 (comment)_ in PR: #6 we need to implement tests covering chained exceptions (cause) for ApiException (404 Not Found) scenarios. This will improve our debuggability when dealing with K8s API errors in the trainer and discovery modules.

Checklist:

  • test cases for ApiException context in tests/unit/common/test_types.py (resolving the current TODO).
  • Verify that cause and error context are correctly identified for 404 errors.

Related Issue:

#9

cc: @abhijeet-dhumal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions