Display analysis summary when infra not in sync in acc tests
parent
2bfa78c1dd
commit
5cc322fa90
|
@ -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()))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue