Skip to content

Commit 8e2af8d

Browse files
mhashizumegithub-actions[bot]
authored andcommitted
(PA-7090) Correct system time on AIX
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)
1 parent bfe54da commit 8e2af8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acceptance/tests/ssl/certificate_extensions.rb

+3
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)