Update and refactor core functionality
- Update common package utilities - Refactor network code for better error handling - Remove deprecated files and functionality - Enhance blacklist and filtering capabilities - Improve snapshot handling and processing
This commit is contained in:
@@ -288,7 +288,7 @@ func TestConnectAndGetDataTimeout(t *testing.T) {
|
||||
// Check if the error is due to timeout
|
||||
if err == nil {
|
||||
t.Error("Expected an error due to timeout, but got no error")
|
||||
} else if !errors.IsHostError(err) {
|
||||
} else if !commonErrors.IsHostError(err) {
|
||||
t.Errorf("Expected a HostError, but got: %v", err)
|
||||
} else {
|
||||
// Here you might want to check if the specific error message contains 'timeout'
|
||||
|
||||
Reference in New Issue
Block a user