Fixes in StreamOperatorService #152
build.yaml
on: pull_request
Validate commit
1m 12s
Build Docker Image and Helm Charts
0s
Annotations
2 errors and 5 warnings
Arcane.Operator.Tests.Services.StreamClassOperatorServiceTests.TestStreamAdded:
test/Services/StreamClassOperatorServiceTests.cs#L87
Moq.MockException :
Expected invocation on the mock at least once, but was never performed: service => service.StartRegisteredStream(It.IsAny<StreamDefinition>(), It.IsAny<bool>())
Performed invocations:
Mock<IStreamingJobOperatorService:4> (service):
IStreamingJobOperatorService.StreamJobNamespace
IStreamingJobOperatorService.StreamJobNamespace
IStreamingJobOperatorService.GetStreamingJob("095b82a1-da67-4785-b05e-43cdbe7e9f8b")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.GetStreamingJob("2e6c3867-d6f8-43eb-8ef3-8c03bf480848")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.GetStreamingJob("dd866537-e2d7-4bd9-aab0-9ce32ea78788")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.StreamJobNamespace
IStreamingJobOperatorService.StreamJobNamespace
IStreamingJobOperatorService.GetStreamingJob("095b82a1-da67-4785-b05e-43cdbe7e9f8b")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.GetStreamingJob("2e6c3867-d6f8-43eb-8ef3-8c03bf480848")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.GetStreamingJob("dd866537-e2d7-4bd9-aab0-9ce32ea78788")
IStreamingJobOperatorService.StartRegisteredStream(StreamDefinition, True)
IStreamingJobOperatorService.StreamJobNamespace
IStreamingJobOperatorService.StreamJobNamespace
|
Validate commit
Process completed with exit code 1.
|
Validate commit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: romeovs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Validate commit
The following actions uses node12 which is deprecated and will be forced to run on node16: romeovs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Validate commit:
src/Services/Operator/StreamOperatorService.cs#L156
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{ HasValue: true, Value: _ }' is not covered. However, a pattern with a 'when' clause might successfully match this value.
|
Validate commit:
src/Services/Operator/StreamOperatorService.cs#L156
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{ HasValue: true, Value: _ }' is not covered. However, a pattern with a 'when' clause might successfully match this value.
|
Validate commit:
src/Services/Operator/StreamOperatorService.cs#L156
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{ HasValue: true, Value: _ }' is not covered. However, a pattern with a 'when' clause might successfully match this value.
|