Skip to content

Commit

Permalink
(PA-7090) Correct system time on AIX
Browse files Browse the repository at this point in the history
We are encountering an issue with tests running on AIX due to incorrect
system time. While we are waiting on a permanent fix in ITHELP-99479,
this temporary workaround sets the timesync property on the Beaker host
object to "true" if the host is AIX.
  • Loading branch information
mhashizume committed Sep 27, 2024
1 parent 7bd9221 commit d282ec3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acceptance/tests/ssl/certificate_extensions.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'puppet/acceptance/temp_file_utils'
extend Puppet::Acceptance::TempFileUtils
extend Beaker::HostPrebuiltSteps

test_name "certificate extensions available as trusted data" do
skip_test "Test requires at least one non-master agent" if hosts.length == 1
Expand Down Expand Up @@ -77,6 +78,8 @@
with_puppet_running_on(master, master_config) do
agents.each do |agent|
next if agent == master
# Temporarily sync time on AIX to account for incorrect system time (PA-7090)
timesync(agent, {:logger => logger}) if agent.platform.start_with?('aix')

step "Create agent csr_attributes.yaml on #{agent}"
agent_csr_attributes = get_test_file_path(agent, "csr_attributes.yaml")
Expand Down

0 comments on commit d282ec3

Please sign in to comment.