Skip to content

Commit d0ec909

Browse files
authored
Merge pull request #9491 from mhashizume/PA-7090/main/aix-time-workaround
(PA-7090) Correct system time on AIX
2 parents 1afc8eb + d282ec3 commit d0ec909

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acceptance/tests/ssl/certificate_extensions.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'puppet/acceptance/temp_file_utils'
22
extend Puppet::Acceptance::TempFileUtils
3+
extend Beaker::HostPrebuiltSteps
34

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

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

0 commit comments

Comments
 (0)