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.

(cherry picked from commit d282ec3)
  • Loading branch information
mhashizume authored and github-actions[bot] committed Sep 27, 2024
1 parent bfe54da commit 8e2af8d
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 8e2af8d

Please sign in to comment.