这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@brettfo
Copy link
Member

@brettfo brettfo commented Jun 7, 2019

When debugging I found a test that expects a package to exist on disk and this might not be the case if:

  1. You recently deleted the %USERPROFILE%\.trydotnet\packages directory.
  2. The %TRYDOTNET_PACKAGES_PATH% directory is empty or doesn't exist.

Flaky CI and PR builds have partly been caused by (2) above because official builds set the %TRYDOTNET_PACKAGES_PATH% variable to be under artifacts/ to ensure it's always clean for the given test run, and it's possible for the affected test to run either before or after another test that created the package.

@brettfo brettfo merged commit 56a0130 into dotnet:master Jun 7, 2019
@brettfo brettfo deleted the webapi-test branch June 7, 2019 22:36
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.

1 participant