TestingUtils
class
Namespace: Orleans.TestingHost.Utils
Collection of test utilities
public static class TestingUtilsMethods
ConfigureDefaultLoggingBuilder(ILoggingBuilder, string)Configurebuilderwith aFileLoggerProviderwhich logs tofilePathby default;CreateDefaultLoggerFactory(string)Create the default logger factory, which would configure logger factory with aFileLoggerProviderthat writes logs tofilePathand console. by default;CreateDefaultLoggerFactory(string, LoggerFilterOptions)Create the default logger factory, which would configure logger factory with aFileLoggerProviderthat writes logs tofilePathand console. by default;CreateTraceFileName(string, string)Create trace file name for a specific node or client in a specific deploymentMultiply(TimeSpan, double)Multiply a timeout by a valueWaitUntilAsync(Func<bool, CancellationToken, Task<bool>>, TimeSpan, TimeSpan?, CancellationToken, string?)Run the predicate until it succeeds or times out.WaitUntilAsync(Func<bool, Task<bool>>, TimeSpan, TimeSpan?)Run the predicate until it succeeds or times out.WaitUntilSucceededAsync(Func<CancellationToken, Task<bool>>, TimeSpan, TimeSpan?, CancellationToken)Runs the predicate until it succeeds or the monotonic deadline expires.
