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

Tests use proper custom backend #184

Merged
merged 1 commit into from May 22, 2017
Merged

Tests use proper custom backend #184

merged 1 commit into from May 22, 2017

Conversation

zaksoup
Copy link
Contributor

@zaksoup zaksoup commented May 22, 2017

Proposed fix to #182

@cfdreddbot
Copy link

Hey zaksoup!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

- ...instead of normal backend, which fails
- include formatting changes (i.e. indents)

fixes:
```
  executes the VM lifecycle with a region backend service [It]
  /Users/pivotal/workspace/bosh-google-cpi-release/src/bosh-google-cpi/integration/vm_test.go:733

  Expected
      <*dispatcher.ResponseError | 0xc4203ab170>: {
          Type: "Bosh::Clouds::VMCreationFailed",
          Message: "VM failed to create: Failed to add instance \"https://www.googleapis.com/compute/beta/projects/cf-bosh-cpi-dev/zones/us-central1-a/instances/vm-06e26e99-18d9-451a-5806-a946c586c111\" to Backend Service \"cfintegration\"'s instance group named \"cfintegration-ilb\": Failed to add Google Instance 'vm-06e26e99-18d9-451a-5806-a946c586c111' to Google Instance Group 'cfintegration-ilb': googleapi: Error 400: Resource 'projects/cf-bosh-cpi-dev/zones/us-central1-a/instances/vm-06e26e99-18d9-451a-5806-a946c586c111' is expected to be in the network 'projects/cf-bosh-cpi-dev/global/networks/cfintegration' but is in the network 'projects/cf-bosh-cpi-dev/global/networks/cfintegration-custom'., wrongNetwork",
          CanRetry: true,
      }
  to be nil

  /Users/pivotal/workspace/bosh-google-cpi-release/src/bosh-google-cpi/integration/assertions.go:27
```

[#145703989](https://www.pivotaltracker.com/story/show/145703989)

Signed-off-by: Brian Cunnie <bcunnie@pivotal.io>
Signed-off-by: Zak Auerbach <zauerbach@pivotal.io>
Copy link
Contributor

@johnsonj johnsonj left a comment

Choose a reason for hiding this comment

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

LGTM. Feel free to merge once your local integration tests pass.

@zaksoup zaksoup merged commit 8b6bab5 into develop May 22, 2017
@johnsonj johnsonj mentioned this pull request May 23, 2017
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.

None yet

4 participants