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

rbac: catch more graph errors before retry #2567

Merged
merged 1 commit into from
Mar 21, 2017

Conversation

yugangw-msft
Copy link
Contributor

This is to workaround a known server replication issue, and we were suggested by AAD team to retry.
Note, the graph error code list is not published with the API, so I had to fall back to error text match.
There will be no big consequences from over-matching, as the CLI command will just re-try a bit more times

@codecov-io
Copy link

codecov-io commented Mar 20, 2017

Codecov Report

Merging #2567 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #2567   +/-   ##
=======================================
  Coverage   72.29%   72.29%           
=======================================
  Files         363      363           
  Lines       19832    19832           
  Branches     2923     2923           
=======================================
  Hits        14338    14338           
+ Misses       4584     4580    -4     
- Partials      910      914    +4
Impacted Files Coverage Δ
...-cli-role/azure/cli/command_modules/role/custom.py 17.89% <0%> (ø) ⬆️
src/azure-cli-core/azure/cli/core/_util.py 66.66% <0%> (ø) ⬆️
...dback/azure/cli/command_modules/feedback/custom.py 34.69% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 316c37f...f8347d9. Read the comment docs.

Copy link
Contributor

@troydai troydai left a comment

Choose a reason for hiding this comment

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

Ugh, this looks really ugly. Approved.

@yugangw-msft yugangw-msft merged commit 67d44a1 into Azure:master Mar 21, 2017
@yugangw-msft yugangw-msft deleted the rbac1 branch March 21, 2017 01:55
thegalah pushed a commit to thegalah/azure-cli that referenced this pull request Mar 21, 2017
* Azure/master: (478 commits)
  vm live test: allow more valid power states on vmss test verifications (Azure#2564)
  rbac:catch more graph error (Azure#2567)
  appservice: support to create plan when create a webapp (Azure#2550)
  Update storage tests (Azure#2556)
  Change PEP8 check filter from whitelist to blacklist (Azure#2557)
  Add scenario tests documentation (Azure#2555)
  [ACS] Adding support for configuring a default ACS cluster (Azure#2554)
  [ACS] Provide a short name alias for the orchestrator type flag (Azure#2553)
  Sql Import/Export CLI commands and test (Azure#2538)
  Fix format bug. (Azure#2549)
  [VM/VMSS] Improved disk caching support (Azure#2522)
  VM/VMSS: incorporate credentials validation logic used by portal (Azure#2537)
  Script that creates packaged releases package archive (Azure#2508)
  Adding alias for defaults flag (Azure#2540)
  Add wait commands and --no-wait support (Azure#2524)
  choice list outside of named arguments (Azure#2521)
  Fixed test failure in test_sql_db_mgmt. (Azure#2530)
  core: support login using service principal with a cert (Azure#2457)
  Add note about being in preview (Azure#2512)
  vm:fix distro check mechanism used by disk encryption (Azure#2511)
  ...
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.

None yet

5 participants