Skip to content

Fix merge conflicts. #146

Fix merge conflicts.

Fix merge conflicts. #146

GitHub Actions / DotNET - Tests failed Sep 23, 2024 in 1s

326 passed, 31 failed and 6 skipped

Tests failed

Report Passed Failed Skipped Time
tests/Serilog.Ui.ElasticSearchProvider.Tests/TestResults/test-results.trx 26✔️ 2✖️ 26s
tests/Serilog.Ui.MongoDbProvider.Tests/TestResults/test-results.trx 26✔️ 20s
tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx 28✔️ 31❌ 1✖️ 30s
tests/Serilog.Ui.MySqlProvider.Tests/TestResults/test-results.trx 71✔️ 2✖️ 40s
tests/Serilog.Ui.PostgreSqlProvider.Tests/TestResults/test-results.trx 61✔️ 1✖️ 23s
tests/Serilog.Ui.RavenDbProvider.Tests/TestResults/test-results.trx 22✔️ 16s
tests/Serilog.Ui.Web.Tests/TestResults/test-results.trx 92✔️ 9s

✔️ tests/Serilog.Ui.ElasticSearchProvider.Tests/TestResults/test-results.trx

28 tests were completed in 26s with 26 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
ElasticSearch.Tests.DataProvider.DataProviderBaseTest 2✔️ 271ms
ElasticSearch.Tests.DataProvider.DataProviderPaginationTest 5✔️ 2✖️ 274ms
ElasticSearch.Tests.DataProvider.DataProviderSearchTest 8✔️ 339ms
ElasticSearch.Tests.Extensions.ElasticSearchDbOptionsTest 4✔️ 30ms
ElasticSearch.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 3✔️ 79ms
ElasticSearch.Tests.Serializers.VanillaSerializerTest 4✔️ 63ms

✔️ ElasticSearch.Tests.DataProvider.DataProviderBaseTest

✔️ It_logs_and_throws_when_db_read_breaks_down
✔️ It_throws_when_any_dependency_is_null

✔️ ElasticSearch.Tests.DataProvider.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✖️ It fetches with sort by level
✖️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It_throws_when_skip_is_zero

✔️ ElasticSearch.Tests.DataProvider.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ ElasticSearch.Tests.Extensions.ElasticSearchDbOptionsTest

✔️ It_returns_custom_provider_name
✔️ It_returns_default_provider_name
✔️ It_throws_on_validation_failed
✔️ It_validates_options

✔️ ElasticSearch.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers multiple providers
✔️ It_registers_provider_and_dependencies
✔️ It_throws_on_invalid_registration

✔️ ElasticSearch.Tests.Serializers.VanillaSerializerTest

✔️ It_deserializes_property
✔️ It_deserializes_property_async
✔️ It_serializes_property
✔️ It_serializes_property_async

✔️ tests/Serilog.Ui.MongoDbProvider.Tests/TestResults/test-results.trx

26 tests were completed in 20s with 26 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MongoDb.Tests.DataProvider.DataProviderBaseTest 2✔️ 1s
MongoDb.Tests.DataProvider.DataProviderPaginationTest 7✔️ 957ms
MongoDb.Tests.DataProvider.DataProviderSearchTest 8✔️ 1s
MongoDb.Tests.Extensions.MongoDbOptionsTest 4✔️ 316ms
MongoDb.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 5✔️ 2s

✔️ MongoDb.Tests.DataProvider.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✔️ It throws when any dependency is null

✔️ MongoDb.Tests.DataProvider.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ MongoDb.Tests.DataProvider.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ MongoDb.Tests.Extensions.MongoDbOptionsTest

✔️ It returns custom provider name
✔️ It returns default provider name
✔️ It throws on validation failed
✔️ It validates options

✔️ MongoDb.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers IMongoClient only when not registered
✔️ It registers multiple providers
✔️ It registers provider and dependencies with connection string and collection
✔️ It registers provider and dependencies with connection string collection and dbname
✔️ It throws on invalid registration

❌ tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx

60 tests were completed in 30s with 28 passed, 31 failed and 1 skipped.

Test suite Passed Failed Skipped Time
MsSql.Tests.DapperHandlers.DapperDateTimeHandlerTest 14✔️ 423ms
MsSql.Tests.DataProvider.DataProviderBaseTest 1✔️ 1✖️ 204ms
MsSql.Tests.DataProvider.DataProviderPaginationAdditionalColsTest 7❌ 7ms
MsSql.Tests.DataProvider.DataProviderPaginationTest 7❌ 7ms
MsSql.Tests.DataProvider.DataProviderSearchAdditionalColsTest 9❌ 9ms
MsSql.Tests.DataProvider.DataProviderSearchTest 8❌ 8ms
MsSql.Tests.DataProvider.QueryBuilderTests 8✔️ 189ms
MsSql.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 5✔️ 693ms

✔️ MsSql.Tests.DapperHandlers.DapperDateTimeHandlerTest

✔️ It fail parse with current culture when original format culture was different
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/d/yyyy h:mm:ss tt zzz")
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/d/yyyy h:mm:ss tt")
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/dd/yyyy h:mm:ss tt zzz")
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/dd/yyyy h:mm:ss tt")
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/dd/yyyy hh:mm:ss tt")
✔️ It parse exact formats with none style and invariant culture(customFormat: "M/dd/yyyy hh:mm:ss")
✔️ It parse exact formats with none style and invariant culture(customFormat: "MM/d/yyyy hh:mm:ss tt")
✔️ It parse exact formats with none style and invariant culture(customFormat: "MM/dd/yyyy hh:mm:ss tt")
✔️ It parse exact formats with none style and invariant culture(customFormat: "MM/dd/yyyy HH:mm:ss")
✔️ It parse simple datetime with local style and current culture
✔️ It parse strange format using custom delegate
✔️ It sets value without changes
✔️ It throws when using custom delegate not returns datetime with utc kind

✔️ MsSql.Tests.DataProvider.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✖️ It throws when any dependency is null

❌ MsSql.Tests.DataProvider.DataProviderPaginationAdditionalColsTest

❌ It fetches with limit
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It fetches with limit and skip
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It fetches with skip
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It fetches with sort by level
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It fetches with sort by message
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It fetches with sort by timestamp
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It throws when skip is zero
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	

❌ MsSql.Tests.DataProvider.DataProviderPaginationTest

❌ It fetches with limit
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It fetches with limit and skip
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It fetches with skip
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It fetches with sort by level
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It fetches with sort by message
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It fetches with sort by timestamp
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It throws when skip is zero
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	

❌ MsSql.Tests.DataProvider.DataProviderSearchAdditionalColsTest

❌ It finds all data with default search
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds data with all filters
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds data with expected additional columns
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds only data emitted after date
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds only data emitted before date
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds only data emitted in dates range
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds only data with specific level
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds only data with specific message content
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	
❌ It finds same data on same repeated search
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
	

❌ MsSql.Tests.DataProvider.DataProviderSearchTest

❌ It finds all data with default search
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds data with all filters
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds only data emitted after date
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds only data emitted before date
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds only data emitted in dates range
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds only data with specific level
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds only data with specific message content
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	
❌ It finds same data on same repeated search
	Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
	

✔️ MsSql.Tests.DataProvider.QueryBuilderTests

✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: 2024-09-23T21:26:22.3123894+00:00, endDate: 2024-09-23T21:26:22.3123902+00:00, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: 2024-09-23T21:26:22.3123887+00:00, endDate: 2024-09-23T21:26:22.3123889+00:00, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: 2024-09-23T21:26:22.3123824+00:00, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery ForSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT [Id], [Message], [Level], [TimeStamp], [Exc"···)
✔️ BuildFetchLogsQuery not includes Exception if custom log model

✔️ MsSql.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers additional columns options during service registration
✔️ It registers multiple providers
✔️ It registers provider and dependencies
✔️ It registers provider and dependencies with custom log model
✔️ It throws on invalid registration

✔️ tests/Serilog.Ui.MySqlProvider.Tests/TestResults/test-results.trx

73 tests were completed in 40s with 71 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
MySql.Tests.DataProvider.MariaDb.DataProviderBaseTest 1✔️ 1✖️ 678ms
MySql.Tests.DataProvider.MariaDb.DataProviderPaginationAdditionalColsTest 7✔️ 113ms
MySql.Tests.DataProvider.MariaDb.DataProviderPaginationTest 7✔️ 110ms
MySql.Tests.DataProvider.MariaDb.DataProviderSearchAdditionalColsTest 9✔️ 71ms
MySql.Tests.DataProvider.MariaDb.DataProviderSearchTest 8✔️ 73ms
MySql.Tests.DataProvider.MariaDb.QueryBuilderTests 8✔️ 14ms
MySql.Tests.DataProvider.MySql.DataProviderBaseTest 1✔️ 1✖️ 8ms
MySql.Tests.DataProvider.MySql.DataProviderPaginationTest 7✔️ 161ms
MySql.Tests.DataProvider.MySql.DataProviderSearchTest 8✔️ 48ms
MySql.Tests.DataProvider.MySql.QueryBuilderTests 7✔️ 58ms
MySql.Tests.Extensions.SerilogUiOptionBuilderExtensionsMariaDbTest 5✔️ 617ms
MySql.Tests.Extensions.SerilogUiOptionBuilderExtensionsMySqlTest 3✔️ 263ms

✔️ MySql.Tests.DataProvider.MariaDb.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✖️ It throws when any dependency is null

✔️ MySql.Tests.DataProvider.MariaDb.DataProviderPaginationAdditionalColsTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ MySql.Tests.DataProvider.MariaDb.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ MySql.Tests.DataProvider.MariaDb.DataProviderSearchAdditionalColsTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds data with expected additional columns
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ MySql.Tests.DataProvider.MariaDb.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ MySql.Tests.DataProvider.MariaDb.QueryBuilderTests

✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: 2024-09-23T21:26:19.7002077+00:00, endDate: 2024-09-23T21:26:19.7002086+00:00, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: 2024-09-23T21:26:19.7002073+00:00, endDate: 2024-09-23T21:26:19.7002074+00:00, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: 2024-09-23T21:26:19.7002046+00:00, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery ForMariaDblSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, LogLevel, TimeStamp, Exception"···)
✔️ BuildFetchLogsQuery not includes Exception if custom log model

✔️ MySql.Tests.DataProvider.MySql.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✖️ It throws when any dependency is null

✔️ MySql.Tests.DataProvider.MySql.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ MySql.Tests.DataProvider.MySql.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ MySql.Tests.DataProvider.MySql.QueryBuilderTests

✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: 2024-09-23T21:26:19.6917504+00:00, endDate: 2024-09-23T21:26:19.6917510+00:00, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: 2024-09-23T21:26:19.6917415+00:00, endDate: 2024-09-23T21:26:19.6917417+00:00, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: 2024-09-23T21:26:19.6917341+00:00, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)
✔️ BuildFetchLogsQuery ForMySqlSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT Id, Message, Level, TimeStamp, Exception, P"···)

✔️ MySql.Tests.Extensions.SerilogUiOptionBuilderExtensionsMariaDbTest

✔️ It registers additional columns options during service registration
✔️ It registers multiple providers
✔️ It registers provider and dependencies
✔️ It registers provider and dependencies with custom log model
✔️ It throws on invalid registration

✔️ MySql.Tests.Extensions.SerilogUiOptionBuilderExtensionsMySqlTest

✔️ It registers multiple providers
✔️ It registers provider and dependencies
✔️ It throws on invalid registration

✔️ tests/Serilog.Ui.PostgreSqlProvider.Tests/TestResults/test-results.trx

62 tests were completed in 23s with 61 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Postgres.Tests.DataProvider.DataProviderBaseTest 1✔️ 1✖️ 227ms
Postgres.Tests.DataProvider.DataProviderPaginationTest 7✔️ 534ms
Postgres.Tests.DataProvider.DataProviderPaginationWithColsTests 7✔️ 450ms
Postgres.Tests.DataProvider.DataProviderSearchTest 8✔️ 474ms
Postgres.Tests.DataProvider.DataProviderSearchWithColsTest 9✔️ 436ms
Postgres.Tests.DataProvider.QueryBuilderTests 9✔️ 110ms
Postgres.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 6✔️ 226ms
Postgres.Tests.Model.LogLevelConverterTest 14✔️ 3ms

✔️ Postgres.Tests.DataProvider.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✖️ It throws when any dependency is null

✔️ Postgres.Tests.DataProvider.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ Postgres.Tests.DataProvider.DataProviderPaginationWithColsTests

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ Postgres.Tests.DataProvider.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ Postgres.Tests.DataProvider.DataProviderSearchWithColsTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds data with expected additional columns
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ Postgres.Tests.DataProvider.QueryBuilderTests

✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: 2024-09-23T21:25:29.6584786+00:00, endDate: 2024-09-23T21:25:29.6584787+00:00, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: "Information", searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: "Test", startDate: null, endDate: null, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: 2024-09-23T21:25:29.6584687+00:00, endDate: null, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: 2024-09-23T21:25:29.6584753+00:00, endDate: 2024-09-23T21:25:29.6584754+00:00, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: 2024-09-23T21:25:29.6584749+00:00, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery ForAlternativeSink ReturnsCorrectQuery(schema: "dbo", tableName: "logs", level: null, searchCriteria: null, startDate: null, endDate: null, expectedQuery: "SELECT \"Message\", \"MessageTemplate\", \"Level\""···)
✔️ BuildFetchLogsQuery not includes Exception if custom log model

✔️ Postgres.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers multiple providers
✔️ It registers provider and dependencies with custom log model
✔️ It registers provider and dependencies(sink: null, type: typeof(Serilog.Ui.PostgreSqlProvider.Models.PostgreSqlAlternativeSinkColumnNames))
✔️ It registers provider and dependencies(sink: SerilogSinksPostgreSQL, type: typeof(Serilog.Ui.PostgreSqlProvider.Models.PostgreSqlSinkColumnNames))
✔️ It registers provider and dependencies(sink: SerilogSinksPostgreSQLAlternative, type: typeof(Serilog.Ui.PostgreSqlProvider.Models.PostgreSqlAlternativeSinkColumnNames))
✔️ It throws on invalid registration

✔️ Postgres.Tests.Model.LogLevelConverterTest

✔️ It maps the correct log level name(input: "0", expected: "Verbose")
✔️ It maps the correct log level name(input: "1", expected: "Debug")
✔️ It maps the correct log level name(input: "2", expected: "Information")
✔️ It maps the correct log level name(input: "3", expected: "Warning")
✔️ It maps the correct log level name(input: "4", expected: "Error")
✔️ It maps the correct log level name(input: "5", expected: "Fatal")
✔️ It maps the correct log level name(input: "random", expected: "")
✔️ It maps the correct log level value(input: "Debug", expected: 1)
✔️ It maps the correct log level value(input: "Error", expected: 4)
✔️ It maps the correct log level value(input: "Fatal", expected: 5)
✔️ It maps the correct log level value(input: "Information", expected: 2)
✔️ It maps the correct log level value(input: "random", expected: 100)
✔️ It maps the correct log level value(input: "Verbose", expected: 0)
✔️ It maps the correct log level value(input: "Warning", expected: 3)

✔️ tests/Serilog.Ui.RavenDbProvider.Tests/TestResults/test-results.trx

22 tests were completed in 16s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
RavenDb.Tests.DataProvider.DataProviderBaseTest 2✔️ 334ms
RavenDb.Tests.DataProvider.DataProviderPaginationTest 7✔️ 1s
RavenDb.Tests.DataProvider.DataProviderSearchTest 8✔️ 363ms
RavenDb.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 5✔️ 356ms

✔️ RavenDb.Tests.DataProvider.DataProviderBaseTest

✔️ It logs and throws when db read breaks down
✔️ It throws when any dependency is null

✔️ RavenDb.Tests.DataProvider.DataProviderPaginationTest

✔️ It fetches with limit
✔️ It fetches with limit and skip
✔️ It fetches with skip
✔️ It fetches with sort by level
✔️ It fetches with sort by message
✔️ It fetches with sort by timestamp
✔️ It throws when skip is zero

✔️ RavenDb.Tests.DataProvider.DataProviderSearchTest

✔️ It finds all data with default search
✔️ It finds data with all filters
✔️ It finds only data emitted after date
✔️ It finds only data emitted before date
✔️ It finds only data emitted in dates range
✔️ It finds only data with specific level
✔️ It finds only data with specific message content
✔️ It finds same data on same repeated search

✔️ RavenDb.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers multiple providers
✔️ It registers provider and dependencies with documentStore
✔️ It returns custom provider name
✔️ It returns default provider name
✔️ It throws on invalid registration

✔️ tests/Serilog.Ui.Web.Tests/TestResults/test-results.trx

92 tests were completed in 9s with 92 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Serilog.Ui.Web.Tests.Authorization.AuthorizationAsyncTest 1✔️ 1s
Serilog.Ui.Web.Tests.Authorization.AuthorizationDefaultTest 1✔️ 1s
Serilog.Ui.Web.Tests.Authorization.AuthorizationSyncTest 1✔️ 3s
Serilog.Ui.Web.Tests.Authorization.Filters.BasicAuthenticationFilterTest 3✔️ 892ms
Serilog.Ui.Web.Tests.Authorization.Filters.BasicAuthServiceByConfigurationTest 2✔️ 25ms
Serilog.Ui.Web.Tests.Authorization.Filters.PolicyAuthenticationFilterTest 2✔️ 863ms
Serilog.Ui.Web.Tests.Endpoints.SerilogUiAppRoutesTest 4✔️ 381ms
Serilog.Ui.Web.Tests.Endpoints.SerilogUiDecoratorsTest 6✔️ 88ms
Serilog.Ui.Web.Tests.Endpoints.SerilogUiEndpointsTest 4✔️ 669ms
Serilog.Ui.Web.Tests.Extensions.ApplicationBuilderExtensionsTest 3✔️ 833ms
Serilog.Ui.Web.Tests.Extensions.HttpRequestExtensionsTest 5✔️ 420ms
Serilog.Ui.Web.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest 8✔️ 805ms
Serilog.Ui.Web.Tests.Extensions.ServiceCollectionExtensionsTest 2✔️ 30ms
Serilog.Ui.Web.Tests.Models.RelationalDbOptionsTest 2✔️ 5ms
Serilog.Ui.Web.Tests.Models.UiOptionsTest 10✔️ 122ms
Serilog.Ui.Web.Tests.OptionsBuilder.ProvidersOptionsTest 2✔️ 242ms
Serilog.Ui.Web.Tests.OptionsBuilder.SerilogUiOptionsBuilderTest 4✔️ 75ms
Serilog.Ui.Web.Tests.SerilogUiMiddlewareTest 32✔️ 585ms

✔️ Serilog.Ui.Web.Tests.Authorization.AuthorizationAsyncTest

✔️ Local Requests Are Not Allowed By Async Filters

✔️ Serilog.Ui.Web.Tests.Authorization.AuthorizationDefaultTest

✔️ Local Requests Are Allowed By Default

✔️ Serilog.Ui.Web.Tests.Authorization.AuthorizationSyncTest

✔️ Local Requests Are Not Allowed By Sync Filters

✔️ Serilog.Ui.Web.Tests.Authorization.Filters.BasicAuthenticationFilterTest

✔️ Authorize returns true on not basic authorization
✔️ Authorize with implementation returns implementation result(isAuth: False)
✔️ Authorize with implementation returns implementation result(isAuth: True)

✔️ Serilog.Ui.Web.Tests.Authorization.Filters.BasicAuthServiceByConfigurationTest

✔️ CanAccessAsync returns false with invalid credentials
✔️ CanAccessAsync returns true with valid credentials

✔️ Serilog.Ui.Web.Tests.Authorization.Filters.PolicyAuthenticationFilterTest

✔️ It returns false with configured policy
✔️ It returns true with configured policy

✔️ Serilog.Ui.Web.Tests.Endpoints.SerilogUiAppRoutesTest

✔️ It gets app home
✔️ It redirects app home
✔️ It returns page error when stream cannot load app home
✔️ It throws on app home if ui options were not set

✔️ Serilog.Ui.Web.Tests.Endpoints.SerilogUiDecoratorsTest

✔️ It blocks the call on failed authentication
✔️ It forwards the call to GetHome when unauthorized page access is enabled
✔️ It forwards the call to GetKeys on success authentication
✔️ It forwards the call to GetLogs on success authentication
✔️ It forwards the call to RedirectHome always
✔️ It return GetHome on failed authentication with custom ui option

✔️ Serilog.Ui.Web.Tests.Endpoints.SerilogUiEndpointsTest

✔️ It gets logs
✔️ It gets logs keys
✔️ It gets logs with search parameters
✔️ It serializes an error on exception

✔️ Serilog.Ui.Web.Tests.Extensions.ApplicationBuilderExtensionsTest

✔️ It not throws on null parameters
✔️ It register ui middleware
✔️ It throws on null deps

✔️ Serilog.Ui.Web.Tests.Extensions.HttpRequestExtensionsTest

✔️ It is local when no xforwarded and remote ip address is null
✔️ It is local when remote ip address equals local ip address
✔️ It is local when remote ip address is loopback
✔️ It is not local when remote ip address is not local nor loopback
✔️ It is not local when xforwarded

✔️ Serilog.Ui.Web.Tests.Extensions.SerilogUiOptionBuilderExtensionsTest

✔️ It registers async filter
✔️ It registers async filter with implementation factory
✔️ It registers basic filter with custom implementation
✔️ It registers basic filter with default implementation
✔️ It registers local requests filter
✔️ It registers policy filter
✔️ It registers sync filter
✔️ It registers sync filter with implementation factory

✔️ Serilog.Ui.Web.Tests.Extensions.ServiceCollectionExtensionsTest

✔️ AddSerilogUi registers providers options in services
✔️ It throws if AddSerilogUi is called twice

✔️ Serilog.Ui.Web.Tests.Models.RelationalDbOptionsTest

✔️ It returns custom provider name
✔️ It returns default provider name

✔️ Serilog.Ui.Web.Tests.Models.UiOptionsTest

✔️ It appends multiple script tags
✔️ It appends multiple stylesheet tags
✔️ It appends script tag with customs
✔️ It appends script tag with defaults
✔️ It appends stylesheet tag with customs
✔️ It appends stylesheet tag with defaults
✔️ It gets default options
✔️ It mix scripts and stylesheets
✔️ It sets options
✔️ It validates options

✔️ Serilog.Ui.Web.Tests.OptionsBuilder.ProvidersOptionsTest

✔️ It creates info from default log model
✔️ It creates info from log model

✔️ Serilog.Ui.Web.Tests.OptionsBuilder.SerilogUiOptionsBuilderTest

✔️ It adds entry in disabled sort keys
✔️ It adds entry in exception as string keys
✔️ It creates entries in additional columns
✔️ It registers options in services

✔️ Serilog.Ui.Web.Tests.SerilogUiMiddlewareTest

✔️ It hits ui endpoint when request matches method and custom options prefix(pathReq: "/test", statusCode: 400)
✔️ It hits ui endpoint when request matches method and custom options prefix(pathReq: "/test/", statusCode: 418)
✔️ It hits ui endpoint when request matches method and custom options prefix(pathReq: "/test/api/keys/", statusCode: 417)
✔️ It hits ui endpoint when request matches method and custom options prefix(pathReq: "/test/api/logs/", statusCode: 409)
✔️ It hits ui endpoint when request matches method and custom options prefix(pathReq: "/test/index.html", statusCode: 400)
✔️ It hits ui endpoint when request matches method and options prefix(pathReq: "/serilog-ui", statusCode: 400)
✔️ It hits ui endpoint when request matches method and options prefix(pathReq: "/serilog-ui/", statusCode: 418)
✔️ It hits ui endpoint when request matches method and options prefix(pathReq: "/serilog-ui/api/keys/", statusCode: 417)
✔️ It hits ui endpoint when request matches method and options prefix(pathReq: "/serilog-ui/api/logs/", statusCode: 409)
✔️ It hits ui endpoint when request matches method and options prefix(pathReq: "/serilog-ui/index.html", statusCode: 400)
✔️ It maps request to assets when request final path part starts with assets folder(pathReq: "/serilog-ui/assets/index.js?query=query", additionalPart: "?query=query")
✔️ It maps request to assets when request final path part starts with assets folder(pathReq: "/serilog-ui/assets/index.js", additionalPart: null)
✔️ It maps request to assets when request final path part starts with assets folder(pathReq: "/serilog-ui/test/assets/index.js", additionalPart: null)
✔️ It maps request to assets when request final path part starts with assets folder(pathReq: "/serilog-ui/test/nested/assets/index.js?query=quer"···, additionalPart: "?query=query")
✔️ It maps request to assets when request final path part starts with assets folder(pathReq: "/serilog-ui/test/nested/assets/index.js", additionalPart: null)
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/asset/index.js?query=query")
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/assets.js")
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/assets")
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/index.js")
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/test/asset/index.js")
✔️ It not map request to assets when request final path part not match assets folder(pathReq: "/serilog-ui/test/nested/my-assets/index.js")
✔️ It proceeds onwards when request does not match options prefix(pathReq: "/fake-prefix", statusCode: 400)
✔️ It proceeds onwards when request does not match options prefix(pathReq: "/fake-prefix", statusCode: 418)
✔️ It proceeds onwards when request does not match options prefix(pathReq: "/fake-prefix/", statusCode: 400)
✔️ It proceeds onwards when request does not match options prefix(pathReq: "/fake-prefix/index.html", statusCode: 418)
✔️ It proceeds onwards when request does not match options prefix(pathReq: "fake-prefix/api/keys/", statusCode: 417)
✔️ It proceeds onwards when request does not match options prefix(pathReq: "fake-prefix/api/logs/", statusCode: 409)
✔️ It proceeds onwards when request is not a get(pathReq: "/serilog-ui", statusCode: 418)
✔️ It proceeds onwards when request is not a get(pathReq: "/serilog-ui/", statusCode: 400)
✔️ It proceeds onwards when request is not a get(pathReq: "/serilog-ui/api/keys/", statusCode: 417)
✔️ It proceeds onwards when request is not a get(pathReq: "/serilog-ui/api/logs/", statusCode: 409)
✔️ It proceeds onwards when request is not a get(pathReq: "/serilog-ui/index.html", statusCode: 418)

Annotations

Check failure on line 33 in tests/Serilog.Ui.Common.Tests/SqlUtil/DatabaseInstance.cs

See this annotation in the file changed.

@github-actions github-actions / DotNET - Tests

MsSql.Tests.DataProvider.DataProviderPaginationAdditionalColsTest ► It fetches with limit

Failed test found in:
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
Error:
  Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}
  
Raw output
Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 662ceb4cddf2a2971ee6f62afbed72ac311e717d6d13d6f466551733fda20d49 is not running"}

   at Docker.DotNet.DockerClient.HandleIfErrorResponseAsync(HttpStatusCode statusCode, HttpResponseMessage response, IEnumerable`1 handlers)
   at Docker.DotNet.DockerClient.MakeRequestAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken token)
   at Docker.DotNet.ExecOperations.ExecCreateContainerAsync(String id, ContainerExecCreateParameters parameters, CancellationToken cancellationToken)
   at DotNet.Testcontainers.Clients.DockerContainerOperations.ExecAsync(String id, IList`1 command, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerContainerOperations.cs:line 150
   at DotNet.Testcontainers.Configurations.UntilUnixCommandIsCompleted.UntilAsync(IContainer container) in /_/src/Testcontainers/Configurations/WaitStrategies/UntilUnixCommandIsCompleted.cs:line 22
   at DotNet.Testcontainers.Containers.DockerContainer.CheckReadinessAsync(WaitStrategy waitStrategy, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 534
   at DotNet.Testcontainers.Configurations.WaitStrategy.<>c__DisplayClass24_0.<<WaitUntilAsync>g__UntilAsync|0>d.MoveNext() in /_/src/Testcontainers/Configurations/WaitStrategies/WaitStrategy.cs:line 184
--- End of stack trace from previous location ---
   at DotNet.Testcontainers.Configurations.WaitStrategy.WaitUntilAsync(Func`1 wait, TimeSpan interval, TimeSpan timeout, Int32 retries, CancellationToken ct) in /_/src/Testcontainers/Configurations/WaitStrategies/WaitStrategy.cs:line 213
   at DotNet.Testcontainers.Containers.DockerContainer.CheckReadinessAsync(IEnumerable`1 waitStrategies, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 552
   at DotNet.Testcontainers.Containers.DockerContainer.UnsafeStartAsync(CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 479
   at DotNet.Testcontainers.Containers.DockerContainer.StartAsync(CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 282
   at Serilog.Ui.Common.Tests.SqlUtil.DatabaseInstance.InitializeAsync() in /home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Common.Tests/SqlUtil/DatabaseInstance.cs:line 33

Check failure on line 33 in tests/Serilog.Ui.Common.Tests/SqlUtil/DatabaseInstance.cs

See this annotation in the file changed.

@github-actions github-actions / DotNET - Tests

MsSql.Tests.DataProvider.DataProviderPaginationTest ► It fetches with limit

Failed test found in:
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
  tests/Serilog.Ui.MsSqlServerProvider.Tests/TestResults/test-results.trx
Error:
  Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}
  
Raw output
Docker.DotNet.DockerApiException : Docker API responded with status code=Conflict, response={"message":"container 4c169d32044f731abee2de5c3e9467f87bab7e82436db909fbd2ba46d4d1bfbb is not running"}

   at Docker.DotNet.DockerClient.HandleIfErrorResponseAsync(HttpStatusCode statusCode, HttpResponseMessage response, IEnumerable`1 handlers)
   at Docker.DotNet.DockerClient.MakeRequestAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken token)
   at Docker.DotNet.ExecOperations.ExecCreateContainerAsync(String id, ContainerExecCreateParameters parameters, CancellationToken cancellationToken)
   at DotNet.Testcontainers.Clients.DockerContainerOperations.ExecAsync(String id, IList`1 command, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerContainerOperations.cs:line 150
   at DotNet.Testcontainers.Configurations.UntilUnixCommandIsCompleted.UntilAsync(IContainer container) in /_/src/Testcontainers/Configurations/WaitStrategies/UntilUnixCommandIsCompleted.cs:line 22
   at DotNet.Testcontainers.Containers.DockerContainer.CheckReadinessAsync(WaitStrategy waitStrategy, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 534
   at DotNet.Testcontainers.Configurations.WaitStrategy.<>c__DisplayClass24_0.<<WaitUntilAsync>g__UntilAsync|0>d.MoveNext() in /_/src/Testcontainers/Configurations/WaitStrategies/WaitStrategy.cs:line 184
--- End of stack trace from previous location ---
   at DotNet.Testcontainers.Configurations.WaitStrategy.WaitUntilAsync(Func`1 wait, TimeSpan interval, TimeSpan timeout, Int32 retries, CancellationToken ct) in /_/src/Testcontainers/Configurations/WaitStrategies/WaitStrategy.cs:line 213
   at DotNet.Testcontainers.Containers.DockerContainer.CheckReadinessAsync(IEnumerable`1 waitStrategies, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 552
   at DotNet.Testcontainers.Containers.DockerContainer.UnsafeStartAsync(CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 479
   at DotNet.Testcontainers.Containers.DockerContainer.StartAsync(CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 282
   at Serilog.Ui.Common.Tests.SqlUtil.DatabaseInstance.InitializeAsync() in /home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Common.Tests/SqlUtil/DatabaseInstance.cs:line 33