Merged / adapted error treatment and Gitaly Comparison tests from stable
It turns out that `CommitService` does not return the `INTERNAL` gRPC error any more in Gitaly 15.5 when storage is incorrect. Now that is `INVALID_ARGUMENT`, same as with other gRPC methods.
No related branches found
No related tags found
Showing
- .gitlab-ci.yml 12 additions, 13 deletions.gitlab-ci.yml
- .hgtags 2 additions, 0 deletions.hgtags
- hgitaly/repository.py 13 additions, 0 deletionshgitaly/repository.py
- hgitaly/revision.py 5 additions, 1 deletionhgitaly/revision.py
- hgitaly/service/commit.py 46 additions, 17 deletionshgitaly/service/commit.py
- hgitaly/service/ref.py 1 addition, 5 deletionshgitaly/service/ref.py
- hgitaly/service/repository.py 30 additions, 28 deletionshgitaly/service/repository.py
- hgitaly/service/tests/test_commit.py 52 additions, 11 deletionshgitaly/service/tests/test_commit.py
- hgitaly/service/tests/test_repository_service.py 54 additions, 0 deletionshgitaly/service/tests/test_repository_service.py
- hgitaly/servicer.py 103 additions, 24 deletionshgitaly/servicer.py
- hgitaly/tests/test_revision.py 10 additions, 0 deletionshgitaly/tests/test_revision.py
- hgitaly/tests/test_servicer.py 32 additions, 5 deletionshgitaly/tests/test_servicer.py
- tests_with_gitaly/comparison.py 77 additions, 2 deletionstests_with_gitaly/comparison.py
- tests_with_gitaly/test_blob_tree.py 300 additions, 286 deletionstests_with_gitaly/test_blob_tree.py
- tests_with_gitaly/test_commit.py 9 additions, 0 deletionstests_with_gitaly/test_commit.py
- tests_with_gitaly/test_ref.py 4 additions, 0 deletionstests_with_gitaly/test_ref.py
- tests_with_gitaly/test_repository_service.py 91 additions, 32 deletionstests_with_gitaly/test_repository_service.py
Loading
Please register or sign in to comment