Skip to content

Commit 4985635

Browse files
Zhang Yanpodrmingdrmer
authored andcommitted
test: add comprehensive tests for error types and SeqNum
Cover Display, From conversions, and io::Error mappings for all error types in the types crate: MetaNetworkError, MetaAPIError, MetaClientError, MetaError, MetaStartupError, ForwardRPCError, MetaOperationError, and SeqNum. These types previously had 0-38% test coverage. Changes: - Add `error_types` integration test module with 58 tests - Test `name()`, `is_retryable()`, `add_context()` helper methods - Verify io::ErrorKind mappings for all error-to-io conversions - Test raft error conversions (ClientWriteError, Fatal, ChangeMembership)
1 parent 0528da2 commit 4985635

File tree

2 files changed

+736
-0
lines changed

2 files changed

+736
-0
lines changed

0 commit comments

Comments
 (0)