Skip to content

chore: update probe mysql tests#1808

Merged
xuriwuyun merged 5 commits intomainfrom
support/add_probe_tests
Mar 8, 2023
Merged

chore: update probe mysql tests#1808
xuriwuyun merged 5 commits intomainfrom
support/add_probe_tests

Conversation

@xuriwuyun
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@nashtsai nashtsai left a comment

Choose a reason for hiding this comment

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

approved, however, that redis and other packages still required more tests.

ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/etcd	0.876s	coverage: 33.3% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/mongodb	0.005s	coverage: 19.7% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/mysql	0.006s	coverage: 82.6% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/redis	0.005s	coverage: 37.5% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/component/redis	0.003s	coverage: 18.2% of statements

@xuriwuyun
Copy link
Copy Markdown
Contributor Author

approved, however, that redis and other packages still required more tests.

ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/etcd	0.876s	coverage: 33.3% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/mongodb	0.005s	coverage: 19.7% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/mysql	0.006s	coverage: 82.6% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/binding/redis	0.005s	coverage: 37.5% of statements
ok  	github.com/apecloud/kubeblocks/cmd/probe/internal/component/redis	0.003s	coverage: 18.2% of statements

Got it, I'll improve coverage later.

@xuriwuyun xuriwuyun merged commit fe231b9 into main Mar 8, 2023
@xuriwuyun xuriwuyun deleted the support/add_probe_tests branch March 8, 2023 07:33
nayutah pushed a commit that referenced this pull request Mar 9, 2023
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.

[code-coverage] insufficient code coverage in cmd/probe/internal/binding/**.go

4 participants