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

Added mocking data and mocking integration tests for azure #1646

Merged
merged 16 commits into from
Mar 9, 2020

Conversation

JunqiZhang0
Copy link
Contributor

@JunqiZhang0 JunqiZhang0 commented Mar 3, 2020

Added mocking data and mocking integration tests for azure. It also differentiated the present data and absent data. All other providers should do the same. fix #1531

@adl-bot
Copy link

adl-bot commented Mar 3, 2020

Can one of the admins verify this patch?

@14rcole
Copy link
Contributor

14rcole commented Mar 3, 2020

Junqi, what do you mean by differentiating present and absent data? Isn't the data generated by provisioning (present) the data used by teardown (absent)?

@JunqiZhang0
Copy link
Contributor Author

@14rcole No, they are using different data, I added code for SK's collector to collect both present data and absent data. Do you think it's necessary? I personally think it's not that necessary to test the Teardown part because if the provision part works fine then the teardown should also work fine. But @samvarankashyap said for consistency, we need to provide both data, I agree. What's your opinion?

@JunqiZhang0
Copy link
Contributor Author

[test]

2 similar comments
@JunqiZhang0
Copy link
Contributor Author

[test]

@JunqiZhang0
Copy link
Contributor Author

[test]

@14rcole
Copy link
Contributor

14rcole commented Mar 4, 2020

Do you mean that the provider returns different data on teardown?

@JunqiZhang0
Copy link
Contributor Author

@14rcole yes

@JunqiZhang0
Copy link
Contributor Author

[test]

1 similar comment
@JunqiZhang0
Copy link
Contributor Author

[test]

@JunqiZhang0 JunqiZhang0 force-pushed the mockazure branch 2 times, most recently from 215bdef to 41cf905 Compare March 5, 2020 16:48
@JunqiZhang0
Copy link
Contributor Author

[test]

@JunqiZhang0
Copy link
Contributor Author

[TEST]

@JunqiZhang0
Copy link
Contributor Author

[test]

Copy link
Contributor

@samvarankashyap samvarankashyap left a comment

Choose a reason for hiding this comment

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

LGTM

@JunqiZhang0
Copy link
Contributor Author

[merge]

@adl-bot adl-bot merged commit 944d0c0 into CentOS-PaaS-SIG:develop Mar 9, 2020
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.

Move azure integration test to mock provider
4 participants