diff --git a/specmatic-order-bff-csharp.test/contract/ContractTests.cs b/specmatic-order-bff-csharp.test/contract/ContractTests.cs index f6484be..5686589 100644 --- a/specmatic-order-bff-csharp.test/contract/ContractTests.cs +++ b/specmatic-order-bff-csharp.test/contract/ContractTests.cs @@ -18,6 +18,11 @@ public class ContractTests : IAsyncLifetime public async Task ContractTestsAsync() { await RunContractTests(); + var logs = await _testContainer.GetLogsAsync(); + if (!logs.Stdout.Contains("Failures: 0")) + { + Assert.Fail("There are failing tests"); + } } public async Task InitializeAsync() diff --git a/specmatic-order-bff-csharp.test/examples/domain_service/stub_timeout.json b/specmatic-order-bff-csharp.test/examples/domain_service/stub_timeout.json index 94d5a1d..4ba38c5 100644 --- a/specmatic-order-bff-csharp.test/examples/domain_service/stub_timeout.json +++ b/specmatic-order-bff-csharp.test/examples/domain_service/stub_timeout.json @@ -3,7 +3,7 @@ "path": "/products?type=other", "method": "GET" }, - "delay-in-seconds": 10, + "delay-in-seconds": 5, "http-response": { "status": 200, "body": [],