Skip to content

vdk-core: add more unit tests to for job_input_error_classfier#2621

Merged
DeltaMichael merged 1 commit intomainfrom
person/mdilyan/improve-error-classifier-tests
Sep 1, 2023
Merged

vdk-core: add more unit tests to for job_input_error_classfier#2621
DeltaMichael merged 1 commit intomainfrom
person/mdilyan/improve-error-classifier-tests

Conversation

@DeltaMichael
Copy link
Copy Markdown
Contributor

@DeltaMichael DeltaMichael commented Aug 29, 2023

Why?

As part of the VDK Run Logs initiative, we should increase test coverage for the job_input_error_classifier

What?

Add unit test for error caused by external library used by vdk internal components

Add unit test for error caused by passing custom iterator to job_input

Add unit test for error caused by passing custom iterator using external libraries to job_input

Tests that do not pass have been commented and appropriate ticket opened to address them

#2620

Misc: Flip the assertion parameters passed, because they were the wrong way around.

How has this been tested?

Ran unit tests locally

What type of change are you making?

New feature (non-breaking change which adds functionality)

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/improve-error-classifier-tests branch from ad234e7 to 71d3c20 Compare August 30, 2023 11:44
Why?

As part of the VDK Run Logs initiative, we should increase test
coverage for the job_input_error_classifier

What?

Add unit test for error caused by external library
used by vdk internal components

Add unit test for error caused by passing custom
iterator to job_input

Add unit test for error caused by passing custom
iterator using external libraries to job_input

Tests that do not pass have been commented and
appropriate ticket opened to address them

#2620

How has this been tested?

Ran unit tests locally

What type of change are you making?

New feature (non-breaking change which adds functionality)

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/improve-error-classifier-tests branch from 71d3c20 to 4c7e1d0 Compare September 1, 2023 07:47
@DeltaMichael DeltaMichael merged commit 8878e8f into main Sep 1, 2023
@DeltaMichael DeltaMichael deleted the person/mdilyan/improve-error-classifier-tests branch September 1, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Error classifier logic testing

4 participants