Skip to content

Commit

Permalink
Add Log For Entry And Json Schema When Log Validation Fails (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethAmazon authored Jul 31, 2023
1 parent 24a1425 commit 0b47de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/metric_value_benchmark/eks_daemonset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func (e *EKSDaemonTestRunner) validateLogs(env *environment.MetaData) status.Tes

if !awsservice.MatchEMFLogWithSchema(l, rs, validateLogContents) {
log.Println("failed to match log with schema")
log.Printf("log entry %s json schema %s", l, jsonSchema)
return false
}
}
Expand Down

0 comments on commit 0b47de7

Please sign in to comment.