Skip to content

Rename abort asset in MSTest integration test#7379

Merged
Evangelink merged 2 commits intomainfrom
dev/ygerges/abort-rename
Feb 10, 2026
Merged

Rename abort asset in MSTest integration test#7379
Evangelink merged 2 commits intomainfrom
dev/ygerges/abort-rename

Conversation

@Youssef1313
Copy link
Member

We have the following flakiness:

MSBUILD : Logger error MSB4104: Failed to write to log file "D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\Abort-1.binlog". The process cannot access the file 'D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\Abort-1.binlog' because it is being used by another process.
System.IO.IOException: The process cannot access the file 'D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\Abort-1.binlog' because it is being used by another process.

This is because both MTP and MSTest integration tests have an asset called Abort. When both tests start concurrently (in different processes), they get the same binlog file name and we have a race between the two processes. Renaming the asset should resolve it.

@Evangelink Evangelink enabled auto-merge February 10, 2026 10:01
@Evangelink Evangelink merged commit e0fc3d4 into main Feb 10, 2026
10 checks passed
@Evangelink Evangelink deleted the dev/ygerges/abort-rename branch February 10, 2026 13:38
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