Skip to content

Commit

Permalink
fix deps and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wisechengyi committed Oct 22, 2018
1 parent 73679c6 commit 20d1101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/python/pants/engine/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ python_library(
'src/python/pants/base:exceptions',
'src/python/pants/base:specs',
'src/python/pants/build_graph',
'src/python/pants/rules/core:core',
'src/python/pants/util:objects',
]
)
Expand Down
2 changes: 1 addition & 1 deletion src/rust/engine/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl Scheduler {
fn display_ongoing_tasks(
&self,
graph: &Graph<NodeKey>,
roots: &Vec<NodeKey>,
roots: &[NodeKey],
display: &mut EngineDisplay,
display_worker_count: usize,
) {
Expand Down
2 changes: 1 addition & 1 deletion tests/python/pants_test/engine/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_trace_includes_rule_exception_traceback(self):
]

scheduler = create_scheduler(rules)
request = scheduler._native.new_execution_request(v2_ui=False)
request = scheduler._native.new_execution_request(v2_ui=False, ui_worker_count=1)
subject = B()
scheduler.add_root_selection(request, subject, A)
session = scheduler.new_session()
Expand Down

0 comments on commit 20d1101

Please sign in to comment.