Skip to content

Commit

Permalink
Исправлено падение теста Prcocessor_Can_Be_Created_By_Server_CommandP…
Browse files Browse the repository at this point in the history
…rocessor_Dependency, когда он выполнялся в группе с остальными тестами
  • Loading branch information
etyumemntcev committed Sep 5, 2023
1 parent a4ce3a6 commit 8894f3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appserver/server.tests/ProcessorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class ProcessorTests
public ProcessorTests()
{
new Scopes.InitCommand().Execute();
var iocScope = Ioc.Resolve<object>("IoC.Scope.Create");
Ioc.Resolve<ICommand>("IoC.Scope.Current.Set", iocScope).Execute();
}

[Fact]
Expand Down Expand Up @@ -107,7 +109,6 @@ public void Prcocessor_Can_Be_Created_By_Server_CommandProcessor_Dependency()
queue.Add(new HardStopCommand(processorContext));

Assert.True(processor.Wait(5000));

}
}
}

0 comments on commit 8894f3e

Please sign in to comment.