Skip to content

Commit

Permalink
fix(integ-runner): remove deprecated property
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Aug 5, 2022
1 parent 73203d9 commit 326f7f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions packages/@aws-cdk/integ-runner/lib/workers/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,9 @@ export interface IntegTestOptions {
*/
readonly dryRun?: boolean;

/**
* Whether to enable verbose logging
*
* @default false
* @deprecated - use `verbosity` instead
*/
readonly verbose?: boolean;

/**
* The level of verbosity for logging.
*
* Maximum is 2.
* Higher number means more output.
*
* @default 0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IntegTestBatchRequest } from '../integ-test-worker';
*/
export function integTestWorker(request: IntegTestBatchRequest): IntegTestWorkerConfig[] {
const failures: IntegTestInfo[] = [];
const verbosity = request.verbosity ?? (request.verbose ? 1 : 0);
const verbosity = request.verbosity ?? 0;

for (const testInfo of request.tests) {
const test = new IntegTest(testInfo); // Hydrate from data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export async function runIntegrationTestsInParallel(
tests: [test],
clean: options.clean,
dryRun: options.dryRun,
verbosity: options.verbosity ?? (options.verbose ? 1 : 0),
verbosity: options.verbosity,
updateWorkflow: options.updateWorkflow,
}], {
on: printResults,
Expand Down

0 comments on commit 326f7f6

Please sign in to comment.