Skip to content

Conversation

@yugangw-msft
Copy link
Contributor

No description provided.

@yugangw-msft yugangw-msft changed the title vm live test: allow more valid states after vmss command execution vm live test: allow more valid power states on vmss test verifications Mar 20, 2017
@codecov-io
Copy link

codecov-io commented Mar 20, 2017

Codecov Report

Merging #2564 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2564   +/-   ##
=======================================
  Coverage   72.29%   72.29%           
=======================================
  Files         363      363           
  Lines       19832    19832           
  Branches     2923     2923           
=======================================
  Hits        14338    14338           
  Misses       4580     4580           
  Partials      914      914

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 67d44a1...1e52ba0. 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.

Besides the comments, I approve this pull request.

Copy link
Contributor

Choose a reason for hiding this comment

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

The following definition can make the usage easier:

def _check_vms_power_state(self, *args):

The client will look like:

self._check_vms_power_state('PowerState/running', 'PowerState/starting')

This save the extra step to create a list.

Besides, I don't think the method has to initialize with _. It is meaningless given this is merely a test case.

@yugangw-msft yugangw-msft merged commit 1b7ddaa into Azure:master Mar 21, 2017
@yugangw-msft yugangw-msft deleted the live3 branch March 21, 2017 14:47
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.

5 participants