[Bug] Jest detects open handle
@mjameswh đang làm issue này rồi.
Từ ngày 21/11/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
cd activities-examples
npm run jest -- -t httpWorkflow
results in:
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
npm run jest -- -t httpWorkflow --detectOpenHandles
results in:
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
● neon threadsafe function
> 1 | import { TestWorkflowEnvironment } from '@temporalio/testing';
| ^
2 | import { Worker, Runtime, DefaultLogger, LogEntry } from '@temporalio/worker';
3 | import { v4 as uuid4 } from 'uuid';
4 | import { httpWorkflow } from './workflows';
at Object.<anonymous> (node_modules/@temporalio/worker/src/worker.ts:95:8)
at Object.<anonymous> (node_modules/@temporalio/worker/src/index.ts:29:1)
at Object.<anonymous> (node_modules/@temporalio/testing/src/index.ts:20:1)
at Object.<anonymous> (src/workflows.test.ts:1:1)
- Ngôn ngữ chính
- TypeScript
- Star
- 469
- Fork
- 150
- Merge trung bình
- 2 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của temporalio/samples-typescript
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
temporalio/samples-typescript#418 ·
-
[Feature Request] Health checkĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
temporalio/samples-typescript#433 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
temporalio/samples-typescript#425 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
temporalio/samples-typescript#419 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
temporalio/samples-typescript#411 ·
Tất cả issue của temporalio/samples-typescript
Issue tương tự
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsCó thể đã có người làm @as992949791 đã nhận hôm nay. Đang mởgood first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
reticlehq/reticle#2033 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:quality p3-medium ready-for-agent type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
fderuiter/deruiter.dev#3589 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
marmelab/react-admin#11431 ·
Maintainer thường phản hồi trong vòng 1 ngày