public static void NoReload_OK(NonEmptyString secretId) { var client = Mock.Of <IAmazonSecretsManager>(); var configurationSource = new SecretsManagerConfigurationSource(client, secretId.Get, Timeout.InfiniteTimeSpan); using var sut = new SecretsManagerConfigurationProvider(configurationSource); // note(cosborn) Assertion controlled by the "longRunningTestSeconds" parameter in `xunit.runner.json`. sut.WaitForReloadToComplete(Timeout.InfiniteTimeSpan); }