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

build: Enable Consul remote backend tests #26221

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

alisdair
Copy link
Contributor

Despite installing Consul as part of the build, we haven't actually been running the Consul remote state backend tests in CI. This commit sets the environment variable needed to do this.

I verified that tests are running on this branch, where I pushed an intentionally failing test (which passed CI), then enabled the tests (which failed CI), and finally removed the failing test (and CI is green).

@alisdair alisdair requested a review from a team September 11, 2020 17:01
@alisdair alisdair self-assigned this Sep 11, 2020
@codecov
Copy link

codecov bot commented Sep 11, 2020

Codecov Report

Merging #26221 into master will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted Files Coverage Δ
backend/remote/backend_common.go 54.57% <0.00%> (-0.68%) ⬇️
backend/remote-state/consul/backend.go 76.14% <0.00%> (ø)
backend/remote-state/consul/backend_state.go 70.31% <0.00%> (ø)
backend/remote-state/consul/client.go 68.07% <0.00%> (ø)
dag/marshal.go 54.44% <0.00%> (+1.11%) ⬆️

Copy link
Contributor

@pselle pselle left a comment

Choose a reason for hiding this comment

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

I love the branch strategy for showing the work, thank you!

@alisdair alisdair merged commit b213ec8 into master Sep 11, 2020
@alisdair alisdair deleted the alisdair/enable-consul-remote-backend-tests branch September 11, 2020 18:53
@ghost
Copy link

ghost commented Oct 13, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants