Skip to content

Commit

Permalink
test: update persistence agent unit tests. Part of kubeflow#388 (kube…
Browse files Browse the repository at this point in the history
…flow#403)

* Update metrics reporter unit tests

* Update persistence worker unit tests

* Update workflow saver unit tests

* Fix spelling typo
  • Loading branch information
evan-hataishi committed Jan 12, 2021
1 parent 9963698 commit 1a4bdea
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 418 deletions.
2 changes: 1 addition & 1 deletion backend/src/agent/persistence/worker/metrics_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (r MetricsReporter) collectNodeMetricsOrNil(
[]*api.RunMetric, error) {
defer func() {
if panicMessage := recover(); panicMessage != nil {
log.Info("nodeStatus is not yet created. Panic message: '%v'.", panicMessage)
log.Infof("nodeStatus is not yet created. Panic message: '%v'.", panicMessage)
}
}()
if nodeStatus.Status == nil ||
Expand Down
Loading

0 comments on commit 1a4bdea

Please sign in to comment.