You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function used to detect CTS test readiness, currently doesn't work if the enabled tasks in CTS are '0' as expected. This is useful in the case where we don't care about tasks running for a particular test, and just want to test other CTS behavior.
This does not affect anything in production.
Versions
Consul Terraform Sync
consul-terraform-sync v0.6.0
Actual Behavior
If a test starts up CTS with a configuration with all tasks disabled, and the test attempts to stop CTS, the test will fail due to being unable to stop cleanly.
Steps to Reproduce
Go to the following test, which doesn't require a task to run:
wilkermichael
changed the title
Bug in Test Function not interpreting test readiness correctly when 0 tasks are enabled
Bug in test function not interpreting test readiness correctly when 0 tasks are enabled
May 20, 2022
wilkermichael
changed the title
Bug in test function not interpreting test readiness correctly when 0 tasks are enabled
Bug in test function not interpreting test readiness correctly when 0 tasks are enabled (Does not affect production)
May 20, 2022
Describe the bug
The function used to detect CTS test readiness, currently doesn't work if the enabled tasks in CTS are '0' as expected. This is useful in the case where we don't care about tasks running for a particular test, and just want to test other CTS behavior.
This does not affect anything in production.
Versions
Consul Terraform Sync
Actual Behavior
If a test starts up CTS with a configuration with all tasks disabled, and the test attempts to stop CTS, the test will fail due to being unable to stop cleanly.
Steps to Reproduce
consul-terraform-sync/e2e/registration_test.go
Lines 129 to 144 in ba8b4ac
"enabled = true"
to"enabled = false"
The text was updated successfully, but these errors were encountered: