tikv / migration

Migration tools for TiKV, e.g. online bulk load.
Apache License 2.0
36 stars 26 forks source link

[close #334] tests: fix timeout of integration test `sigstop` #335

Closed pingyu closed 1 year ago

pingyu commented 1 year ago

Signed-off-by: Ping Yu yuping@pingcap.com

What problem does this PR solve?

Issue Number: close #334

Problem Description: G10 (sink_hang + sigstop) run more than 25 minutes

What is changed and how does it work?

Code changes

Check List for Tests

This PR has been tested by at least one of the following methods:

Side effects

Related changes

To reviewers

Please follow these principles to check this pull requests:

(The above text mainly refers to TiDB Development Guide. It's also highly recommended to read about Writing code review comments)

codecov[bot] commented 1 year ago

Codecov Report

Merging #335 (f392ee9) into main (0966ba8) will decrease coverage by 0.1577%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/tikv/migration/pull/335/graphs/tree.svg?width=650&height=150&src=pr&token=7nmbrqKeWs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv)](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) ```diff @@ Coverage Diff @@ ## main #335 +/- ## ================================================ - Coverage 61.0409% 60.8832% -0.1578% ================================================ Files 240 240 Lines 20270 20334 +64 ================================================ + Hits 12373 12380 +7 - Misses 6777 6831 +54 - Partials 1120 1123 +3 ``` | Flag | Coverage Δ | | *Carryforward flag | |---|---|---|---| | br | `60.4647% <ø> (ø)` | | Carriedforward from [dd0b972](https://codecov.io/gh/tikv/migration/commit/dd0b972d67c4b5683941081aa708226c493f50cf?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | | cdc | `61.0759% <ø> (-0.2316%)` | :arrow_down: | | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) to find out more. | [Impacted Files](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | Coverage Δ | | |---|---|---| | [cdc/cdc/kv/client.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9rdi9jbGllbnQuZ28=) | `83.8616% <0.0000%> (-2.1614%)` | :arrow_down: | | [cdc/cdc/sorter/unified/heap\_sorter.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9zb3J0ZXIvdW5pZmllZC9oZWFwX3NvcnRlci5nbw==) | `85.7142% <0.0000%> (-1.5307%)` | :arrow_down: | | [cdc/pkg/orchestrator/etcd\_worker.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL3BrZy9vcmNoZXN0cmF0b3IvZXRjZF93b3JrZXIuZ28=) | `77.3109% <0.0000%> (-1.2606%)` | :arrow_down: | | [cdc/cdc/server.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9zZXJ2ZXIuZ28=) | `35.1851% <0.0000%> (-0.8338%)` | :arrow_down: | | [cdc/cdc/http\_router.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9odHRwX3JvdXRlci5nbw==) | `81.4814% <0.0000%> (-0.5186%)` | :arrow_down: | | [cdc/cdc/sorter/unified/file\_backend.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9zb3J0ZXIvdW5pZmllZC9maWxlX2JhY2tlbmQuZ28=) | `33.3333% <0.0000%> (-0.4387%)` | :arrow_down: | | [cdc/cdc/sorter/unified/merger.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9zb3J0ZXIvdW5pZmllZC9tZXJnZXIuZ28=) | `68.2847% <0.0000%> (-0.3237%)` | :arrow_down: | | [cdc/cmd/cdc/main.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NtZC9jZGMvbWFpbi5nbw==) | `100.0000% <0.0000%> (ø)` | | | [cdc/cdc/capture/capture.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9jYXB0dXJlL2NhcHR1cmUuZ28=) | `0.0000% <0.0000%> (ø)` | | | [cdc/cdc/kv/region\_worker.go](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-Y2RjL2NkYy9rdi9yZWdpb25fd29ya2VyLmdv) | `79.5833% <0.0000%> (ø)` | | | ... and [1 more](https://codecov.io/gh/tikv/migration/pull/335?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | |
pingyu commented 1 year ago

/run-unit-test

pingyu commented 1 year ago

/run-integration-test

pingyu commented 1 year ago

/run-unit-test /run-integration-test

pingyu commented 1 year ago

/run-integration-test

pingyu commented 1 year ago

/run-integration-test