File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/core/src/codewhisperer/service Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,11 @@ export async function pollTestJobStatus(
199199 status = resp . testGenerationJob ?. status as CodeWhispererConstants . TestGenerationJobStatus
200200 if ( status === CodeWhispererConstants . TestGenerationJobStatus . FAILED ) {
201201 throw new TestGenFailedError ( resp . testGenerationJob ?. jobStatusReason )
202+ } else {
203+ logger . verbose ( `testgen job status: ${ status } ` )
204+ logger . verbose ( `Complete polling test job status.` )
205+ break
202206 }
203- logger . verbose ( `testgen job status: ${ status } ` )
204- logger . verbose ( `Complete polling test job status.` )
205- break
206207 }
207208 throwIfCancelled ( )
208209 await sleep ( CodeWhispererConstants . testGenJobPollingIntervalMilliseconds )
You can’t perform that action at this time.
0 commit comments