Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-pkg-cloud #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test-pkg-cloud #21

wants to merge 1 commit into from

Conversation

jxs1211
Copy link

@jxs1211 jxs1211 commented Sep 17, 2022

Signed-off-by: jxs1211 327411586@qq.com

Description
ut

Related Issues
N/A

New Behavior (screenshots if needed)
PS D:\shen\go\open_source\fadvisor\pkg\cloud> go test -v -cover
=== RUN TestDetectRegion
=== RUN TestDetectRegion/base
=== RUN TestDetectRegion/qcloud_with_no_node_labels
=== RUN TestDetectRegion/qcloud_with_node_labels
--- PASS: TestDetectRegion (0.00s)
--- PASS: TestDetectRegion/base (0.00s)
--- PASS: TestDetectRegion/qcloud_with_no_node_labels (0.00s)
--- PASS: TestDetectRegion/qcloud_with_node_labels (0.00s)
=== RUN TestDetectProvider
=== RUN TestDetectProvider/base
=== RUN TestDetectProvider/qcloud
--- PASS: TestDetectProvider (0.00s)
--- PASS: TestDetectProvider/base (0.00s)
--- PASS: TestDetectProvider/qcloud (0.00s)
=== RUN TestNewProviderConfig
=== RUN TestNewProviderConfig/base
--- PASS: TestNewProviderConfig (0.00s)
--- PASS: TestNewProviderConfig/base (0.00s)
=== RUN TestPriceConfig_GetConfig
=== RUN TestPriceConfig_GetConfig/base
--- PASS: TestPriceConfig_GetConfig (0.00s)
--- PASS: TestPriceConfig_GetConfig/base (0.00s)
PASS
coverage: 22.4% of statements
ok github.com/gocrane/fadvisor/pkg/cloud 1.394s
PS D:\shen\go\open_source\fadvisor\pkg\cloud>

}
}

func TestPriceConfig_GetConfig(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

meanness test, suggest to remove it

Copy link
Author

@jxs1211 jxs1211 Sep 23, 2022

Choose a reason for hiding this comment

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

meanness test, suggest to remove it
@qmhu @mfanjie
updated

Signed-off-by: jxs1211 <327411586@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants