Skip to content

Commit 9b4e347

Browse files
(maint) Merge up 74406a1 to main
Generated by CI * commit '74406a14381f0bc3e2f355668d4098e44d0d6a1f': (maint) Do not output raw serialization in acceptance
2 parents 2e131b4 + 74406a1 commit 9b4e347

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

acceptance/tests/server_returns_pson_when_preferred_serialization_set.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
formats.each do |expected_format|
1111
step "Server returns #{expected_format} catalog when --preferred_serialization_format=#{expected_format}" do
1212
agents.each do |agent|
13+
# We use :silent here to avoid raw http_debug bytes being printed to our CI logs
1314
on(agent, puppet('agent', '-t',
1415
"--preferred_serialization_format #{expected_format}",
15-
'--http_debug'), :acceptable_exit_codes => [0,2]) do |res|
16+
'--http_debug'),
17+
:acceptable_exit_codes => [0,2], :silent => true) do |res|
1618
found_format = false
1719
started = false
1820
res.stderr.each_line do |line|

0 commit comments

Comments
 (0)