Skip to content

Commit

Permalink
Merge pull request #9491 from mhashizume/PA-7090/main/aix-time-workar…
Browse files Browse the repository at this point in the history
…ound

(PA-7090) Correct system time on AIX
  • Loading branch information
mhashizume authored Sep 27, 2024
2 parents 1afc8eb + d282ec3 commit d0ec909
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 d0ec909

Please sign in to comment.