Skip to content

Commit 85c64be

Browse files
author
Sergey Komisarchik
committed
Fix Travis failing:
- fine-tune ReloadDelay for the DynamicLevelChangeTests
1 parent 4d95da9 commit 85c64be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Serilog.Settings.Configuration.Tests/DynamicLevelChangeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public DynamicLevelChangeTests()
3232
Path = ConfigFilename,
3333
Optional = false,
3434
ReloadOnChange = true,
35-
ReloadDelay = 10
35+
ReloadDelay = 100
3636
};
3737

3838
jsonConfigurationSource.ResolveFileProvider();
@@ -80,7 +80,7 @@ public void ShouldRespectDynamicLevelChanges()
8080
void UpdateConfig(LogEventLevel? minimumLevel = null, LogEventLevel? overrideLevel = null, LogEventLevel? switchLevel = null)
8181
{
8282
File.WriteAllText(ConfigFilename, BuildConfiguration());
83-
Thread.Sleep(50);
83+
Thread.Sleep(250);
8484

8585
string BuildConfiguration()
8686
{

0 commit comments

Comments
 (0)