templates: add integration test cases to cover Nomad service template funcs
Open
stage/accepted
theme/client
theme/consul-template
theme/template
theme/testing
type/enhancement
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
The `taskrunner/template` package includes new Nomad service consul-template functionality, however, does not exercise this within integration tests. This is due to the package being in a long import chain, making utilising current test agents/clients impossible without a large refactor.
We should therefore step back and address this properly, allowing not only the creation of these tests, but the easier creation of tests in the future which fall into this category.
Related https://github.com/hashicorp/nomad/pull/12458
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.