diff --git a/rails_application/test/orders/product_price_changed_test.rb b/rails_application/test/orders/product_price_changed_test.rb index b53f19cd..517f3140 100644 --- a/rails_application/test/orders/product_price_changed_test.rb +++ b/rails_application/test/orders/product_price_changed_test.rb @@ -16,14 +16,6 @@ def test_reflects_change assert event_store.event_in_stream?(price_events.event_id, "Orders$all") end - def test_race_condition - product_id = SecureRandom.uuid - run_command(Pricing::SetPrice.new(product_id: product_id, price: 100)) - run_command(ProductCatalog::RegisterProduct.new(product_id: product_id)) - - assert_equal 100, Product.find_by_uid(product_id).price - end - private def event_store