Skip to content

0.53 Nobody call disposeAsync on webApplicationFactory and any other injected classes #2867

Description

@bazarniy

Sorry. On 0.53 I have default webapplication factory injected into test class as [ClassDataSource<CustomWebApplicationFactory>(Shared = SharedType.PerClass)]. It is IAsyncDisposable. And there are no calls to DisposeAsync method (and no for Dispose too)! For another injected classes (PerAssembly) is the same thing. InitializeAsync works fine

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions