Skip to content

Commit

Permalink
fixup! fixup! frontend: expose workers as a configurable option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikcl committed Nov 20, 2022
1 parent 7b69f5d commit 6551edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli/packages_cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestPackagesCmdFlags(t *testing.T) {
},
{
name: "override-default-workers",
args: []string{"packages", "-vvv", "--workers", "2", coverageImage},
args: []string{"packages", "-vvv", "-o", "json", "--workers", "2", coverageImage},
assertions: []traitAssertion{
// the application config in the log matches that of what we expect to have been configured.
assertInOutput("workers: 2"),
Expand All @@ -217,7 +217,7 @@ func TestPackagesCmdFlags(t *testing.T) {
},
{
name: "default-workers",
args: []string{"packages", "-vvv", coverageImage},
args: []string{"packages", "-vvv", "-o", "json", coverageImage},
assertions: []traitAssertion{
// the application config in the log matches that of what we expect to have been configured.
assertInOutput("workers: 1"),
Expand Down

0 comments on commit 6551edd

Please sign in to comment.