puppetlabs / puppetlabs-ntp

Puppet module to manage the NTP service
http://forge.puppetlabs.com/puppetlabs/ntp
Apache License 2.0
145 stars 328 forks source link

Acceptance tests will be broken on 1 Jan 2023 #660

Closed jay7x closed 1 year ago

jay7x commented 1 year ago

Describe the Bug

I was reading the acceptance tests to understand how to deal with litmus. While checking https://github.com/puppetlabs/puppetlabs-ntp/blob/main/spec/acceptance/integration_ntp_spec.rb I found years 2022 and 2023 are hardcoded there. So those tests are going to be broken in a month.

Expected Behavior

I'd expect the tests to get the current year and deal with it instead of using hardcoded 2022.