Skip to content

Test cases are trying to catch unthrown Siddhi runtime exception #59

@nadheesh

Description

@nadheesh

Some of the test cases are trying to catch Siddhi runtime exceptions. Since Siddhi runtime exceptions are not thrown, these test cases should fail.
However, these test cases are missing the assert fail, in their try block. Therefore, these test cases are not failing even though, they fail to assert the thrown exception.

We need to fix these cases by,

  • Finding a mechanism to assert the unthrown runtime exceptions
  • Using assert.fail() to fail the test case if the exception is not asserted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions