Skip to content

Commit

Permalink
Test tuning Bazel local_test_jobs.
Browse files Browse the repository at this point in the history
RELNOTES=N/A
PiperOrigin-RevId: 578232997
  • Loading branch information
bcorso authored and Dagger Team committed Nov 1, 2023
1 parent d9d0a8e commit c87bad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/bazel-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Run Bazel tests'
run: bazel test --test_output=errors //...
run: bazel test --local_test_jobs=40 --jobs=200 //...
shell: bash
- name: 'Run Bazel examples'
run: cd examples/bazel; bazel test --test_output=errors //...
Expand Down
1 change: 1 addition & 0 deletions java/dagger/internal/codegen/binding/BindingGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ public final Optional<Binding> localMembersInjectionBinding(Key key) {

/** Returns the {@link ContributionBinding} for the given {@link Key}. */
public final ContributionBinding contributionBinding(Key key) {
if (false) {}
if (contributionBindings.containsKey(key)) {
return (ContributionBinding) contributionBindings.get(key).delegate();
} else if (parent.isPresent()) {
Expand Down

0 comments on commit c87bad2

Please sign in to comment.