Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Tests: pkg dynamiccontroller: increases test coverage#414

Open
DhairyaMajmudar wants to merge3 commits intokro-run:main
base:main
Choose a base branch
Loading
fromDhairyaMajmudar:tests/dynamiccontroller

Conversation

DhairyaMajmudar
Copy link
Contributor

@DhairyaMajmudarDhairyaMajmudar commentedMar 18, 2025
edited
Loading

Description

  1. Increases tests coverage from 62.5% to 76.7% forpkg/dynamiccontroller/dynamiccontroller_test.go file
  2. Replaced deprecated goio/ioutil package toio

ScreenShots

BeforeAfter
Screenshot from 2025-03-18 13-54-15Screenshot from 2025-03-18 14-48-32

cc:@a-hilaly

Signed-off-by: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in>
Copy link
Member

@a-hilalya-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks@DhairyaMajmudar ! left a few comments inline

expected: true,
},
{
name: "one unsynced informer",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

can we have some test cases forone synced informer,many synced informers andmany sync informers and many unsynced informers ?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@a-hilaly I've added the suggested changes and also simplified them a bit but the tests cases forone synced informer andmany synced informers are failing.

It seems to be like some bug with actual function, can you pls. confirm once.

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

@a-hilalya-hilalya-hilaly left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@DhairyaMajmudar@a-hilaly

[8]ページ先頭

©2009-2025 Movatter.jp