Skip to content

Commit

Permalink
[CI] Fix Flaky Test test_task_scheduler_gradient (#10360)
Browse files Browse the repository at this point in the history
* [CI] Fix Flaky Test `test_task_scheduler_gradient`

A change to fix the issue of flaky test mentioned in #10356 by increase the `chain_rule` factor and avoid small gradient.

* Retrigger CI.
  • Loading branch information
zxybazh authored Feb 23, 2022
1 parent faa2e6a commit c338299
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_task_scheduler_gradient():
)

def objective_func(costs):
return costs[0]
return 1e5 * costs[0]

with tempfile.NamedTemporaryFile() as fp:
log_file = fp.name
Expand Down

0 comments on commit c338299

Please sign in to comment.