Skip to content

Commit

Permalink
Update docker test based on new inspec error output
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pop <apop@chef.io>
  • Loading branch information
alexpop committed Nov 10, 2020
1 parent 29099c3 commit 00b44d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def cleanup
assert_equal(true, TimeStuff.checkTimestampAndAdjustIfNeeded(test_start_time, n, 'last_contact'))
n.scan_data.end_time = Google::Protobuf::Timestamp.new()
n.scan_data.id = "some-id"
if n.connection_error.is_a?(String) && n.connection_error.include?("No such container: cc_pggggggggg (Docker::Error::NotFoundError)")
if n.connection_error.is_a?(String) && n.connection_error.include?("No such container: cc_pggggggggg")
n.connection_error = "No such container: cc_pggggggggg. (TRUNCATED IN TESTS)"
end
}
Expand Down

0 comments on commit 00b44d5

Please sign in to comment.