Skip to content

Commit

Permalink
test running the #116
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed Mar 16, 2023
1 parent 9161a23 commit a54b568
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
namespace DryIoc.IssuesTests
{
[TestFixture]
public class GHIssue116_DryIoc_Resolve_with_decorators_goes_wrong_for_parallel_execution
public class GHIssue116_DryIoc_Resolve_with_decorators_goes_wrong_for_parallel_execution : ITest
{
public int Run()
{
DryIoc_Resolve_parallel_execution().GetAwaiter().GetResult();
DryIoc_Resolve_sequential_execution();
return 2;
}

[Test]
public async Task DryIoc_Resolve_parallel_execution()
{
Expand Down
1 change: 1 addition & 0 deletions test/DryIoc.TestRunner.net472/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public static void RunAllTests()
new GHIssue29_Resolve_caches_args_values(),
new GHIssue32_Memory_leak_with_ResolveManyBehavior_AzLazyEnumerable(),
new GHIssue80_ScopedOrSingleton_extra_constructor_calls(),
new GHIssue116_DryIoc_Resolve_with_decorators_goes_wrong_for_parallel_execution(),
new GHIssue180_Option_nullable_int_argument_with_not_null_default_value(),
new GHIssue191_Optional_IResolverContext_argument_in_Func_of_service(),
new GHIssue198_Open_generics_resolve_fails_if_there_is_a_static_constructor(),
Expand Down
2 changes: 2 additions & 0 deletions test/DryIoc.TestRunner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public static void Main()
{
RunAllTests();

// new GHIssue116_DryIoc_Resolve_with_decorators_goes_wrong_for_parallel_execution().Run();
// new GHIssue550_Use_not_working_for_scoped_type_after_having_resolved_it_in_another_scope().Run();
// new GHIssue546_Generic_type_constraint_resolution_doesnt_see_arrays_as_IEnumerable().Run();
// new GHIssue536_DryIoc_Exception_in_a_Constructor_of_a_Dependency_does_tunnel_through_Resolve_call().Run();
Expand Down Expand Up @@ -106,6 +107,7 @@ public static void RunAllTests()
new Messages_Test(),
new GHIssue80_ScopedOrSingleton_extra_constructor_calls(),
new GHIssue101_Compile_time_generated_object_graph(),
new GHIssue116_DryIoc_Resolve_with_decorators_goes_wrong_for_parallel_execution(),
new GHIssue180_Option_nullable_int_argument_with_not_null_default_value(),
new GHIssue191_Optional_IResolverContext_argument_in_Func_of_service(),
new GHIssue198_Open_generics_resolve_fails_if_there_is_a_static_constructor(),
Expand Down

0 comments on commit a54b568

Please sign in to comment.