You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "git-hulk (via GitHub)" <gi...@apache.org> on 2024/09/18 13:24:21 UTC
[PR] Refactor and enhance test cases to prevent flaky test failure [kvrocks]
git-hulk opened a new pull request, #2544:
URL: https://github.com/apache/kvrocks/pull/2544
This may fix flaky tests:
```
--- FAIL: TestLogClean (4.08s)
logclean_test.go:63:
Error Trace: /home/runner/work/kvrocks/kvrocks/tests/gocase/unit/log/logclean_test.go:63
Error: Not equal:
expected: true
actual : false
Test: TestLogClean
FAIL
exit status 1
```
and
```
Traceback (most recent call last):
File "/home/runner/work/kvrocks/kvrocks/utils/kvrocks2redis/tests/check_consistency.py", line 132, in <module>
redis_comparator.compare_redis_data(args.key_file)
File "/home/runner/work/kvrocks/kvrocks/utils/kvrocks2redis/tests/check_consistency.py", line 91, in compare_redis_data
self._import_and_compare(100)
File "/home/runner/work/kvrocks/kvrocks/utils/kvrocks2redis/tests/check_consistency.py", line 116, in _import_and_compare
raise AssertionError(f"Data mismatch for key '{key}': source data: '{src_data}' destination data: '{dst_data}'")
AssertionError: Data mismatch for key 'key_[36](https://github.com/apache/kvrocks/actions/runs/10895781702/job/30235147974#step:18:37)': source data: 'value_36' destination data: 'None'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(tests): refactor and enhance test cases to prevent flaky test failure [kvrocks]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk merged PR #2544:
URL: https://github.com/apache/kvrocks/pull/2544
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(tests): refactor and enhance test cases to prevent flaky test failure [kvrocks]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #2544:
URL: https://github.com/apache/kvrocks/pull/2544#issuecomment-2358776010
## [](https://sonarcloud.io/dashboard?id=apache_kvrocks&pullRequest=2544) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_kvrocks&pullRequest=2544&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_kvrocks&pullRequest=2544&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_kvrocks&pullRequest=2544&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [60.7% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_kvrocks&pullRequest=2544&metric=new_coverage&view=list)
 [1.3% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_kvrocks&pullRequest=2544&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_kvrocks&pullRequest=2544)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org