Skip to content

fix unit test

fix unit test #171

Triggered via push September 21, 2023 12:06
Status Success
Total duration 5m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L224
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L227
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L230
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L16
Remove the field '_entityIdType' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
build: src/Domain.Abstractions/Entity.cs#L94
Remove this overload of 'operator =='. (https://rules.sonarsource.com/csharp/RSPEC-3875)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L18
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L224
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L227
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L230
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L16
Remove the field '_entityIdType' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L22
Drop 'Where' and move the condition into the 'FirstOrDefault'. (https://rules.sonarsource.com/csharp/RSPEC-2971)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L18
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)