Closed jaanus closed 9 months ago
I just created a new project without this library as a dependency and experienced the same issue. So this would indicate that it is not an issue of swift-snapshot-testing
and could therefore be an Apple issue. Please test a project without swift-snapshot-testing
and report back whether you experience the same thing. Thank you.
This is an obsolete bug and I have not seen it lately, so, closing.
The slowness I observed was actually this: https://github.com/pointfreeco/swift-snapshot-testing/pull/664
Describe the bug
Running snapshot tests with existing screenshots results in test delays and “Timed out waiting for the exit barrier block” messages on console.
To Reproduce
Have this test class.
When it is run without a snapshot being present, it quickly and correctly records the snapshot and reports a failure.
When the snapshot is present, the test works correctly (passes or fails as expected). However, the process has several seconds of delay in the end.
Expected behavior
When snapshots are present, the test should complete without any delay.
Environment