Skip to content

async code will cause dead lock with xunit #4773

Closed
@frank-dong-ms-zz

Description

@frank-dong-ms-zz

xunit/xunit#864
xunit/xunit#1935

Calling .Wait() causes deadlocks.
Calling .Result causes deadlocks.
Calling .GetAwaiter().GetResult() causes deadlocks.

we need to fix the way we use in async to prevent dead lock with xunit

Metadata

Metadata

Labels

P1Priority of the issue for triage purpose: Needs to be fixed soon.testrelated to tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions