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

[CI] Tests aren't being mocked correctly on CI reruns #45

Closed
derekbekoe opened this issue Feb 3, 2018 · 0 comments
Closed

[CI] Tests aren't being mocked correctly on CI reruns #45

derekbekoe opened this issue Feb 3, 2018 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@derekbekoe
Copy link
Member

Sometimes, the source tests will fail due to 'az login' even though the recordings are correct.
This could possibly be due to the change in folder structure for recordings in Azure/azure-cli.
See also https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-testsdk/azure/cli/testsdk/patches.py#L38

@derekbekoe derekbekoe added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Feb 3, 2018
@derekbekoe derekbekoe changed the title Tests aren't being mocked correctly on CI reruns [CI] Tests aren't being mocked correctly on CI reruns Feb 3, 2018
kairu-ms pushed a commit that referenced this issue Jul 4, 2024
* build: add cicd pipeline (#7)

* build: move update version logic to workflow (#8)

* build: Run CI on multiple python version (#38)

* build: Run CI in Python 3.8-3.11

* build: remove pull request event for CI to avoid duplicate runs

* test: add test cases for commands (#40)

* fix: error when register API with long description spec (#41)

* test: add test cases for optional parameters (#42)

* feat!: remove file name param (#43)

* fix: error not thrown when import spec with >3MB file (#44)

* feat!: remove state param for deployment commands (#46)

* fix: API title created by register command is not same with provided spec (#47)

* feat!: redesign parameters to specify APIM instance for import-from-apim command (#45)

* test: clean up legacy test cases (#48)

* test: add test cases for command examples (#49)

* docs: update help message per feedback (#50)

* build: bump version to 1.0.0 and add changelog (#51)

* fix: some parameters should be required in import-specification and deployment command (#53)

* feat!: rename parameter names to align with other Azure CLI command experience (#52)

* test: enable test for import-from-apim (#54)

* test: fix show service test case (#55)

* docs: update changelog for 1.0.0 (#56)

* Update HISTORY.rst - jukasper

updated changelog

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* docs: update readme for apic-extension (#57)

* fix: cannot run create command against existing resource (#58)

* fix: cannot run create command against existing resource

* style: fix style

* build: remove cicd pipeline (#59)

* build: resolve review comments (#60)

---------

Co-authored-by: Julia Kasper <[email protected]>
liorstauber pushed a commit to liorstauber/azure-cli-extensions that referenced this issue Jul 14, 2024
* build: add cicd pipeline (Azure#7)

* build: move update version logic to workflow (Azure#8)

* build: Run CI on multiple python version (Azure#38)

* build: Run CI in Python 3.8-3.11

* build: remove pull request event for CI to avoid duplicate runs

* test: add test cases for commands (Azure#40)

* fix: error when register API with long description spec (Azure#41)

* test: add test cases for optional parameters (Azure#42)

* feat!: remove file name param (Azure#43)

* fix: error not thrown when import spec with >3MB file (Azure#44)

* feat!: remove state param for deployment commands (Azure#46)

* fix: API title created by register command is not same with provided spec (Azure#47)

* feat!: redesign parameters to specify APIM instance for import-from-apim command (Azure#45)

* test: clean up legacy test cases (Azure#48)

* test: add test cases for command examples (Azure#49)

* docs: update help message per feedback (Azure#50)

* build: bump version to 1.0.0 and add changelog (Azure#51)

* fix: some parameters should be required in import-specification and deployment command (Azure#53)

* feat!: rename parameter names to align with other Azure CLI command experience (Azure#52)

* test: enable test for import-from-apim (Azure#54)

* test: fix show service test case (Azure#55)

* docs: update changelog for 1.0.0 (Azure#56)

* Update HISTORY.rst - jukasper

updated changelog

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* Update HISTORY.rst

* docs: update readme for apic-extension (#57)

* fix: cannot run create command against existing resource (Azure#58)

* fix: cannot run create command against existing resource

* style: fix style

* build: remove cicd pipeline (Azure#59)

* build: resolve review comments (Azure#60)

---------

Co-authored-by: Julia Kasper <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant