Skip to content

kotlinx.coroutines.test: Option to disable virtual time and delay skipping #3179

Open
@sergeych

Description

@sergeych

It is often a need to keep regular delay() behavior with actual delay, for example:

  • debugging code that uses time-depending libraries that know nothing of virtual time (e.g. kotlinx.datetime)
  • debugging network protocols where real delays are a must.

It could be something like runTest(noVirtualTime=true) { /}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions