Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Adding vmgroup tests #1478

Merged

Conversation

ashahi1
Copy link
Contributor

@ashahi1 ashahi1 commented Jun 24, 2017

Added two tests and their related utils:

  • TestVGNameForOrphanedVolumes
  • TestDSAccessPrivilegeForUserVG

Original PR is having 3 LGTM, so this new PR is ready to merge as CI passed as well

These tests have already been reviewed in PR #1381
Had to create separate PR as one of the test related to deleting default vmgroup fails.

Ran make-testall locally and all tests pass.

=> Running target test-e2e-runalways
OK: 6 passed
--- PASS: Test (211.76s)
PASS
ok  	github.com/vmware/docker-volume-vsphere/tests/e2e	211.763s

=> Running target test-e2e-runonce 
PASS
OK: 24 passed
ok  	github.com/vmware/docker-volume-vsphere/tests/e2e	938.302s

@ashahi1 ashahi1 self-assigned this Jun 24, 2017
// 2. Execute vmgroup ls command.
// 3. Kill the vm that was added to the tenant.
// 4. Again execute vmgroup ls command to verify command works fine.
func (s *vgBasicSuite) TestVmgroupLsPostVMKill(c *C) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This test needs to be removed as this is not adding any value.

@shuklanirdesh82
Copy link
Contributor

Original PR is having 3 LGTM, so this new PR is ready to merge as CI passed as well

Merging this PR.

@shuklanirdesh82 shuklanirdesh82 merged commit 8b833cb into vmware-archive:master Jun 25, 2017
shuklanirdesh82 pushed a commit that referenced this pull request Jun 29, 2017
[CI SKIP] Known issue doc.liping (#1475)

* Add known issue in README.md. [SKIP CI]

Adds Microsoft/go-winio vendor package (#1473)

This commit adds the Microsoft/go-winio vendor package, which will be used for implementing the npipe based Docker plugin for Windows.

Creates platform specific config and main modules (#1482)

This commit separates platform specific config and plugin serving code from the generic one. It will aid development of the Windows plugin.

* Extracts unix sock service from main.go into main_linux.go.
* Moves linux specific config from config.go into config_linux.go.
* Renames config_test.go to config_linux_test.go.

Adding a test for delete/recreate default vm group & fix cleanup in vmdk_ops_test.py (#1381)

Log cleanup for VMListener : VM object not found (#1489)

Update CONTRIBUTING.md

Refreshing test setup requirement and bring contributing.md to current.

[SKIP CI] Addressing Sam's comment

revamping contributing.md

Addressing Mark's comment

Update CONTRIBUTING.md
@ashahi1 ashahi1 deleted the addVmgroupTests.ashahi1 branch August 16, 2017 01:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants