Display analysis summary when infra not in sync in acc tests

main
Elie 2021-01-14 18:15:23 +01:00
parent 2bfa78c1dd
commit 5cc322fa90
No known key found for this signature in database
GPG Key ID: 399AF69092C727B6
1 changed files with 1 additions and 1 deletions

View File

@ -86,5 +86,5 @@ func (r *ScanResult) AssertDriftCountTotal(count int) {
}
func (r ScanResult) AssertInfrastructureIsInSync() {
r.Equal(true, r.Analysis.IsSync(), "Infrastructure is not in sync")
r.Equal(true, r.Analysis.IsSync(), fmt.Sprintf("Infrastructure is not in sync: %+v", r.Analysis.Summary()))
}