Skip to content

Conversation

@compnerd
Copy link
Member

When running in CI, we would see failures due to the environment variables being changed. This relaxes the precondition to allow the test failure to propagate.

@compnerd compnerd requested a review from jmschonfeld June 12, 2024 16:53
@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd requested a review from parkera June 12, 2024 16:53
@jmschonfeld
Copy link
Contributor

Test Case 'FileManagerTests.testSearchPaths' started at 2024-06-12 17:11:56.556

C:\source\swift-foundation\Tests\FoundationEssentialsTests\FileManager\FileManagerTests.swift:718: error: FileManagerTests.testSearchPaths : XCTAssertEqual failed: ("false") is not equal to ("true") - Directory picturesDirectory produced an unexpected number of paths (expected to exist: true, produced: [])

Test Case 'FileManagerTests.testSearchPaths' failed (0.015 seconds)

Looks like we should update the unit test to account for this - looks like the pictures directory doesn't exist on CI

@compnerd
Copy link
Member Author

@swift-ci please test

When running in CI, we would see failures due to the environment
variables being changed. This relaxes the precondition to allow the test
failure to propagate.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd requested a review from jmschonfeld June 12, 2024 18:27
@jmschonfeld jmschonfeld merged commit 142f409 into swiftlang:main Jun 12, 2024
@compnerd compnerd deleted the failure branch June 12, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants