Skip to content

Commit 2d9c7f6

Browse files
add wait time for daemon
1 parent 23fa2c1 commit 2d9c7f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/CommandLineTests/CliTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public async Task ShouldOverrideConfigValues_WhenSpecifiedInConfiguration()
3030
var cts = new CancellationTokenSource();
3131
var testAdapter = new ProgramTest();
3232
var daemonTask = testAdapter.StartDaemon();
33+
// Wait for daemon
34+
Thread.Sleep(1000 * 3);
3335
var cliHost = testAdapter.StartHost(new string[] { "run", "-v", "-c", Path.Combine("config", ".mstkc.json"), "-p", "profile2" }, cts);
3436

3537
Thread.Sleep(1000 * 5);

0 commit comments

Comments
 (0)