Skip to content

Commit

Permalink
🐛 Fix test not timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Pohfy123 committed Mar 17, 2020
1 parent 1a62c45 commit a012037
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/staging/start_testrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ func (c *controller) checkTestConfig(queue *s2hv1beta1.Queue) (skipTest bool, te
}

now := metav1.Now()
queue.Status.StartTestingTime = &now
err = c.updateQueue(queue)
if queue.Status.StartTestingTime == nil {
queue.Status.StartTestingTime = &now
err = c.updateQueue(queue)
}
return
}

Expand Down

0 comments on commit a012037

Please sign in to comment.