File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ if (RUN_INTEGRATION_TESTS) {
5555 // Runtime configuration was installed, creating a new Worker after Runtime shutdown we would fallback
5656 // to the default configuration (127.0.0.1) which is surprising behavior.
5757 test . serial ( 'Runtime.install() remembers installed options after it has been shut down' , async ( t ) => {
58- const logger = new DefaultLogger ( 'DEBUG ' ) ;
58+ const logger = new DefaultLogger ( 'TRACE ' ) ;
5959 Runtime . install ( { logger } ) ;
6060 {
6161 const runtime = Runtime . instance ( ) ;
Original file line number Diff line number Diff line change 77import { setTimeout } from 'timers/promises' ;
88import { randomUUID } from 'crypto' ;
99import test from 'ava' ;
10- import { Runtime , PromiseCompletionTimeoutError } from '@temporalio/worker' ;
10+ import { Runtime , PromiseCompletionTimeoutError , DefaultLogger } from '@temporalio/worker' ;
1111import { TransportError , UnexpectedError } from '@temporalio/worker/lib/errors' ;
1212import { Client } from '@temporalio/client' ;
1313import { RUN_INTEGRATION_TESTS , Worker } from './helpers' ;
@@ -34,6 +34,10 @@ if (RUN_INTEGRATION_TESTS) {
3434 t . is ( Runtime . _instance , undefined ) ;
3535 } ) ;
3636
37+ test . before ( ( ) => {
38+ Runtime . install ( { logger : new DefaultLogger ( 'TRACE' ) } ) ;
39+ } ) ;
40+
3741 test . serial ( "Worker.runUntil doesn't hang if provided promise survives to Worker's shutdown" , async ( t ) => {
3842 const worker = await Worker . create ( {
3943 ...defaultOptions ,
You can’t perform that action at this time.
0 commit comments