Skip to content

Commit

Permalink
fix acceptance test random failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Sep 14, 2024
1 parent a5b4479 commit 4597c2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
its(['HostConfig.NetworkMode']) { is_expected.to eq 'host' }

its(['Mounts']) do

Check failure on line 58 in spec/acceptance/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

s3daemon with instances param instance bar Docker container "systemd-s3daemon-bar" ["Mounts"] is expected to match [(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] Failure/Error: is_expected.to match([include( include('Source' => '/home'), include('Source' => '/opt') )]) expected [{"Destination"=>"/home", "Driver"=>"", "Mode"=>"", "Options"=>["rbind"], "Propagation"=>"rprivate", ...>"", "Options"=>["rbind"], "Propagation"=>"rprivate", "RW"=>true, "Source"=>"/opt", "Type"=>"bind"}] to match [(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] Diff: @@ -1,16 +1,31 @@ -[(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] +[{"Destination"=>"/home", + "Driver"=>"", + "Mode"=>"", + "Options"=>["rbind"], + "Propagation"=>"rprivate", + "RW"=>true, + "Source"=>"/home", + "Type"=>"bind"}, + {"Destination"=>"/opt", + "Driver"=>"", + "Mode"=>"", + "Options"=>["rbind"], + "Propagation"=>"rprivate", + "RW"=>true, + "Source"=>"/opt", + "Type"=>"bind"}]

Check failure on line 58 in spec/acceptance/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

s3daemon with instances param instance bar Docker container "systemd-s3daemon-bar" ["Mounts"] is expected to match [(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] Failure/Error: is_expected.to match([include( include('Source' => '/home'), include('Source' => '/opt') )]) expected [{"Destination"=>"/home", "Driver"=>"", "Mode"=>"", "Options"=>["rbind"], "Propagation"=>"rprivate", ...>"", "Options"=>["rbind"], "Propagation"=>"rprivate", "RW"=>true, "Source"=>"/opt", "Type"=>"bind"}] to match [(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] Diff: @@ -1,16 +1,31 @@ -[(include (include {"Source" => "/home"}) and (include {"Source" => "/opt"}))] +[{"Destination"=>"/home", + "Driver"=>"", + "Mode"=>"", + "Options"=>["rbind"], + "Propagation"=>"rprivate", + "RW"=>true, + "Source"=>"/home", + "Type"=>"bind"}, + {"Destination"=>"/opt", + "Driver"=>"", + "Mode"=>"", + "Options"=>["rbind"], + "Propagation"=>"rprivate", + "RW"=>true, + "Source"=>"/opt", + "Type"=>"bind"}]
is_expected.to match([
include('Source' => '/home'),
include('Source' => '/opt'),
])
is_expected.to match([include(
include('Source' => '/home'),
include('Source' => '/opt')
)])
end
end

Expand Down

0 comments on commit 4597c2d

Please sign in to comment.