<#4276 Add tests in `flytepropeller/pkg /controlle...
# flyte-github
a
#4276 Add tests in
flytepropeller/pkg /controller/executors
from 72.3% to 87.3% coverage
Pull request opened by Future-Outlier Tracking issue Fixes #4209 #4273 Describe your changes Add tests in
flytepropeller/pkg /controller/executors
to leverage coverage. • flytepropeller/pkg/controller/executors/execution_context_test.go • flytepropeller/pkg/controller/executors/kube_test.go • flytepropeller/pkg/controller/executors/node_lookup_test.go Note to reviewers In this pull request, I've introduced two new structs within `flytepropeller/pkg/controller/executors/kube_test.go`:
FakeReader
and
FakeObject
. Since these structs are not yet implemented in Flytepropeller, I could not generate mock objects for testing purposes. This is the reason behind the current implementation. Update: Due to this revert, I have to update my test code. Check all the applicable boxes ☐ I updated the documentation accordingly. ☑︎ All new and existing tests passed. ☑︎ All commits are signed-off. Screenshots Before

image▾

After

image▾

flyteorg/flyte Codecov: 59.06% (-0.48%) compared to b6b0d61 ✅ 29 other checks have passed 29/30 successful checks