Skip to content

Commit

Permalink
for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sperlingxx committed Apr 15, 2020
1 parent ae6967f commit b43218e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/e2e/v1alpha3/run-e2e-experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ func main() {
if err != nil {
log.Fatal("Get Experiment error ", err)
}
log.Println(exp)
log.Println(exp.Spec.Objective)
log.Println(exp.Spec.Algorithm)
for _, name := range exp.Status.RunningTrialList {
trial, _ := kclient.GetTrial(name, exp.Namespace)
log.Println(trial.Spec.Objective)
log.Println(trial.Status.Observation)
}
log.Printf("Waiting for Experiment %s to finish.", exp.Name)
log.Printf(`Experiment %s's trials: %d trials, %d pending trials,
%d running trials, %d killed trials, %d succeeded trials, %d failed trials.`,
Expand Down

0 comments on commit b43218e

Please sign in to comment.