NServiceBus.AcceptanceTesting.Support.ScenarioRunner.GenerateTestTimedOutMessage C# (CSharp) Method

GenerateTestTimedOutMessage() static private method

static private GenerateTestTimedOutMessage ( System.TimeSpan maxTime ) : string
maxTime System.TimeSpan
return string
        static string GenerateTestTimedOutMessage(TimeSpan maxTime)
        {
            var sb = new StringBuilder();

            sb.AppendLine($"The maximum time limit for this test({maxTime.TotalSeconds}s) has been reached");
            sb.AppendLine("----------------------------------------------------------------------------");

            return sb.ToString();
        }