Skip to content

Feature/postgres events #182

Feature/postgres events

Feature/postgres events #182

Triggered via pull request May 24, 2024 10:08
Status Failure
Total duration 1m 43s
Artifacts

dotnet.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
KnightBus.PostgreSql.Tests.Integration.PostgresBusTests ► Schedule: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresBusTests.cs#L206
Failed test found in: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/TestResults/test-results.trx Error: System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
Build
Failed test were found and 'fail-on-error' option is set to true
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build: knightbus-postgresql/src/KnightBus.PostgreSql/PostgresChannelReceiver.cs#L18
Non-nullable field '_queueClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/src/KnightBus.PostgreSql/PostgresSubscriptionChannelReceiver.cs#L19
Non-nullable field '_queueClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/src/KnightBus.PostgreSql/PostgresSubscriptionChannelReceiver.cs#L39
Possible null reference argument for parameter 'subscription' in 'PostgresSubscriptionClient<T>.PostgresSubscriptionClient(NpgsqlDataSource npgsqlDataSource, IMessageSerializer serializer, IEventSubscription subscription)'.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresSetup.cs#L17
Non-nullable field 'DataSource' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresSetup.cs#L18
Non-nullable field 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresBusTests.cs#L241
Non-nullable property 'MessageBody' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresBusTests.cs#L46
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresQueueManagerTests.cs#L12
Non-nullable field '_bus' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresQueueManagerTests.cs#L13
Non-nullable field '_postgresQueueClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: knightbus-postgresql/tests/KnightBus.PostgreSql.Tests.Integration/PostgresQueueManagerTests.cs#L14
Non-nullable field '_postgresManagementClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.