Skip to content

Implemented Optimistic Concurrency with ESDB exercise solution #868

Implemented Optimistic Concurrency with ESDB exercise solution

Implemented Optimistic Concurrency with ESDB exercise solution #868

GitHub Actions / Tests Results failed May 2, 2024 in 0s

507 passed, 1 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx 1s
Core.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx 1s
Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx 1s
Sample/ClosingTheBooks/PointOfSales.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 11s
Sample/decider/Decider.Tests/TestResults/test-results.trx 1✔️ 805ms
Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 32s
Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 4✔️ 3s
Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 10s
Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 9s
Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 5s
Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx 1s
Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx 6✔️ 2s
Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 4✔️ 1❌ 24s
Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 17s
Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 2s
Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 12✔️ 23s
Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 9✔️ 45s
Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx 39✔️ 1s
Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx 1✔️ 5s
Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx 2✔️ 14s
Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx 1✔️ 6s
Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 15s
Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx 7✔️ 2s
Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 4s
Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx 21✔️ 1✖️ 2s
Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx 789ms
Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx 966ms
Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx 841ms
Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/08-ApplicationLogic.Marten.Tests/bin/TestResults/net8.0/test-results.trx 2s
Workshops/IntroductionToEventSourcing/09-ApplicationLogic.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 2s
Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten.Tests/bin/TestResults/net8.0/test-results.trx 2s
Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 2s
Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx 975ms
Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx 961ms
Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx 2✔️ 911ms
Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx 1✔️ 4s
Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx 3✔️ 7s
Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 2✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/08-ApplicationLogic.Marten.Tests/bin/TestResults/net8.0/test-results.trx 78✔️ 30s
Workshops/IntroductionToEventSourcing/Solved/09-ApplicationLogic.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 78✔️ 7s
Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten.Tests/bin/TestResults/net8.0/test-results.trx 84✔️ 28s
Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 84✔️ 6s
Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx 1✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx 1✔️ 5s

✔️ Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Core.EventStoreDB.Tests.Events.EventStoreDBEventMetadataJsonConverterTests 2✔️ 106ms
EventStoreDB.Integration.Tests.Commands.EventStoreDBAsyncCommandBusTests 1✔️ 990ms

✔️ Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Core.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Core.Tests.AggregateWithWhenTests 1✔️ 33ms

✔️ EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ClosingTheBooks/PointOfSales.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 11s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PointOfSales.Api.Tests.CashRegisters.EndToEndPositiveScenarios 4✔️ 3s
PointOfSales.Api.Tests.CashRegisters.InitializeCashRegisterTests 1✔️ 6s

✔️ Sample/decider/Decider.Tests/TestResults/test-results.trx

1 tests were completed in 805ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Decider.UnionTypesTests 1✔️ 11ms

✔️ Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 32s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 2s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 7s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 11s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 2✔️ 73ms
Carts.Tests.Carts.InitializingCart.InitializeCartTests 1✔️ 49ms
Carts.Tests.Carts.InitializingCart.OpenShoppingCardCommandHandlerTests 1✔️ 48ms

✔️ Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 10s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Orders.Api.Tests.Orders.InitializingOrder.InitializeOrderTests 1✔️ 7s

✔️ Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Payments.Api.Tests.Payments.RequestingPayment.RequestPaymentsTests 1✔️ 7s

✔️ Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Shipments.Api.Tests.Packages.SendPackageTests 1✔️ 3s

✔️ Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
EventPipelines.Tests.ClassesWithBuilderTest 1✔️ 64ms
EventPipelines.Tests.ClassesWithIoCTest 1✔️ 22ms
EventPipelines.Tests.ClassesWithMediatRTest 1✔️ 87ms
EventPipelines.Tests.PureFunctionsWithBuilderTest 1✔️ 49ms
EventPipelines.Tests.PureFunctionsWithIoCTest 1✔️ 13ms
EventPipelines.Tests.PureFunctionsWithMediatRTest 1✔️ 89ms

❌ Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 24s with 4 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1❌ 8s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 2s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

❌ Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests

❌ Put_Should_Return_OK_And_Cancel_Shopping_Cart
	Expected string to be ""1"", but ""0"" differs near "0"" (index 1).

✔️ Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 1✔️ 16ms
Carts.Tests.Carts.OpeningCart.OpenCartCommandHandlerTests 1✔️ 64ms
Carts.Tests.Carts.OpeningCart.OpenCartTests 1✔️ 46ms

✔️ Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 17s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ECommerce.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 2s
ECommerce.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 6s
ECommerce.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 2s

✔️ Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
EventsVersioning.Tests.Downcasters.ChangedStructure 2✔️ 14ms
EventsVersioning.Tests.ExplicitSerialization.ExplicitSerializationTests 2✔️ 151ms
EventsVersioning.Tests.SimpleMappings.NewNotRequiredProperty 2✔️ 25ms
EventsVersioning.Tests.SimpleMappings.NewRequiredProperty 2✔️ 106ms
EventsVersioning.Tests.SimpleMappings.RenamedProperty 2✔️ 89ms
EventsVersioning.Tests.Transformations.MergeEvents 1✔️ 124ms
EventsVersioning.Tests.Transformations.MultipleTransformationsWithDifferentEventTypes 1✔️ 60ms
EventsVersioning.Tests.Upcasters.ChangedStructure 2✔️ 21ms
EventsVersioning.Tests.Upcasters.NewRequiredPropertyFromMetadata 2✔️ 89ms

✔️ Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

12 tests were completed in 23s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 2s
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 624ms
Helpdesk.Api.Tests.Incidents.BatchResolutionTests 2✔️ 2s
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 888ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 962ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 30ms
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 894ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1✔️ 466ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 682ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 2✔️ 66ms

✔️ Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 24ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 729ms
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 964ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 20ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 4s
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 480ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1✔️ 992ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 1s
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 1✔️ 2s

✔️ Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx

39 tests were completed in 1s with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutSagaTests 5✔️ 26ms
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutTests 17✔️ 241ms
HotelManagement.Tests.Sagas.GuestStayAccounts.GuestStayAccountTests 17✔️ 234ms

✔️ Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MartenMeetsElastic.Tests.MeetsElasticTest 1✔️ 4s

✔️ Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
MeetingsManagement.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 7s
MeetingsManagement.IntegrationTests.Meetings.SchedulingMeetings.ScheduleMeetingTests 1✔️ 5s

✔️ Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MeetingsSearch.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 4s

✔️ Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 15s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tickets.Api.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 13s

✔️ Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Tickets.Tests.Reservations.CancellingReservation.CancelReservationTests 3✔️ 15ms
Tickets.Tests.Reservations.ChangingReservationSeat.ChangeSeatTests 1✔️ 34ms
Tickets.Tests.Reservations.ConfirmingReservation.ConfirmReservationTests 1✔️ 3ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationCommandHandlerTests 1✔️ 37ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 35ms

✔️ Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Warehouse.Api.Tests.Products.GettingProductDetails.GetProductDetailsTests 4✔️ 257ms
Warehouse.Api.Tests.Products.GettingProducts.GetProductsTests 6✔️ 278ms
Warehouse.Api.Tests.Products.RegisteringProduct.RegisterProductTests 6✔️ 3s

✔️ Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx

22 tests were completed in 2s with 21 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
EventStoreBasics.Tests.Exercise01CreateStreamsTable 4✔️ 487ms
EventStoreBasics.Tests.Exercise02CreateEventsTable 7✔️ 148ms
EventStoreBasics.Tests.Exercise03CreateAppendEventFunction 2✔️ 440ms
EventStoreBasics.Tests.Exercise04EventStoreMethods 2✔️ 125ms
EventStoreBasics.Tests.Exercise05StreamAggregation 1✔️ 616ms
EventStoreBasics.Tests.Exercise06TimeTravelling 1✔️ 87ms
EventStoreBasics.Tests.Exercise07AggregateAndRepository 1✔️ 168ms
EventStoreBasics.Tests.Exercise08Snapshots 2✔️ 196ms
EventStoreBasics.Tests.Exercise09Projections 1✔️ 711ms
EventStoreBasics.Tests.Exercise10ProjectionsWithMarten 1✖️ 1ms

✔️ Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/08-ApplicationLogic.Marten.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/09-ApplicationLogic.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx

2 tests were completed in 911ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.EventsDefinition.Solution1.EventsDefinitionTests 1✔️ 18ms
IntroductionToEventSourcing.EventsDefinition.Solution2.EventsDefinitionTests 1✔️ 20ms

✔️ Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution1.GettingStateFromEventsTests 1✔️ 33ms
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution2.GettingStateFromEventsTests 1✔️ 35ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 35ms

✔️ Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 3s

✔️ Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 454ms

✔️ Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 7s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.DefaultConvention.GettingStateFromEventsTests 1✔️ 6s
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.SingleApply.GettingStateFromEventsTests 1✔️ 6s
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 5s

✔️ Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.GettingStateFromEventsTests 1✔️ 529ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 514ms

✔️ Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.BusinessLogicTests 1✔️ 169ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution1.BusinessLogicTests 1✔️ 218ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution2.BusinessLogicTests 1✔️ 220ms

✔️ Workshops/IntroductionToEventSourcing/Solved/08-ApplicationLogic.Marten.Tests/bin/TestResults/net8.0/test-results.trx

78 tests were completed in 30s with 78 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ApplicationLogic.Marten.Tests.ShoppingCarts.AddProductItemToShoppingCartTests 18✔️ 11s
ApplicationLogic.Marten.Tests.ShoppingCarts.CancelShoppingCartTests 15✔️ 4s
ApplicationLogic.Marten.Tests.ShoppingCarts.ConfirmShoppingCartTests 18✔️ 5s
ApplicationLogic.Marten.Tests.ShoppingCarts.OpenShoppingCartTests 6✔️ 4s
ApplicationLogic.Marten.Tests.ShoppingCarts.RemoveProductItemFromShoppingCartTests 21✔️ 4s

✔️ Workshops/IntroductionToEventSourcing/Solved/09-ApplicationLogic.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

78 tests were completed in 7s with 78 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ApplicationLogic.EventStoreDB.Tests.ShoppingCarts.AddProductItemToShoppingCartTests 18✔️ 2s
ApplicationLogic.EventStoreDB.Tests.ShoppingCarts.CancelShoppingCartTests 15✔️ 531ms
ApplicationLogic.EventStoreDB.Tests.ShoppingCarts.ConfirmShoppingCartTests 18✔️ 547ms
ApplicationLogic.EventStoreDB.Tests.ShoppingCarts.OpenShoppingCartTests 6✔️ 285ms
ApplicationLogic.EventStoreDB.Tests.ShoppingCarts.RemoveProductItemFromShoppingCartTests 21✔️ 590ms

✔️ Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
OptimisticConcurrency.Marten.Tests.ShoppingCarts.AddProductItemToShoppingCartTests 18✔️ 6s
OptimisticConcurrency.Marten.Tests.ShoppingCarts.CancelShoppingCartTests 15✔️ 2s
OptimisticConcurrency.Marten.Tests.ShoppingCarts.ConfirmShoppingCartTests 18✔️ 11s
OptimisticConcurrency.Marten.Tests.ShoppingCarts.OpenShoppingCartTests 6✔️ 1s
OptimisticConcurrency.Marten.Tests.ShoppingCarts.RemoveProductItemFromShoppingCartTests 27✔️ 5s

✔️ Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

84 tests were completed in 6s with 84 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
OptimisticConcurrency.EventStoreDB.Tests.ShoppingCarts.AddProductItemToShoppingCartTests 18✔️ 835ms
OptimisticConcurrency.EventStoreDB.Tests.ShoppingCarts.CancelShoppingCartTests 15✔️ 2s
OptimisticConcurrency.EventStoreDB.Tests.ShoppingCarts.ConfirmShoppingCartTests 18✔️ 552ms
OptimisticConcurrency.EventStoreDB.Tests.ShoppingCarts.OpenShoppingCartTests 6✔️ 271ms
OptimisticConcurrency.EventStoreDB.Tests.ShoppingCarts.RemoveProductItemFromShoppingCartTests 27✔️ 717ms

✔️ Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 123ms

✔️ Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 191ms

✔️ Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 3s

Annotations

Check failure on line 48 in Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/ShoppingCarts/Confirming/ConfirmShoppingCartTests.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests ► Put_Should_Return_OK_And_Cancel_Shopping_Cart

Failed test found in:
  Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  Expected string to be ""1"", but ""0"" differs near "0"" (index 1).
Raw output
Expected string to be ""1"", but ""0"" differs near "0"" (index 1).
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass58_0.<RESPONSE_ETAG_HEADER>b__0(HttpResponseHeaders headers)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass60_0.<RESPONSE_HEADERS>b__0(HttpResponseMessage response, TestContext ctx)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass61_0.<<RESPONSE_ETAG_IS>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Ogooreck.API.RetryPolicy.Perform(Func`2 send, TestContext testContext, CancellationToken ct)
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests.Put_Should_Return_OK_And_Cancel_Shopping_Cart() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/ShoppingCarts/Confirming/ConfirmShoppingCartTests.cs:line 48
--- End of stack trace from previous location ---