Skip to content

Commit

Permalink
[tests] BuildLibraryWhichUsesResources should be NonParallelizable (#…
Browse files Browse the repository at this point in the history
…4979)

Context: https://build.azdo.io/3947655

Since 396aca1 switched the
`Xamarin.Android.Build.Tests.BuildTest.BuildLibraryWhichUsesResources`
test to use AndroidX, it has been randomly failing with:

    (Restore target) ->
      /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(124,5): error : Could not find file '/Users/runner/work/1/s/packages/xamarin.androidx.migration/1.0.0.1/c0hredtr.mkk'.

I think this is happening because the test is parameterized and
AndroidX has a large dependency tree.

`[NonParallelizable]` should solve the issue.
  • Loading branch information
jonathanpeppers authored Aug 5, 2020
1 parent a963c30 commit cde97d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,7 @@ public void CheckLintConfigMerging ()
}

[Test]
[NonParallelizable] // fails on NuGet restore
[Category ("dotnet")]
/// <summary>
/// Reference https://bugzilla.xamarin.com/show_bug.cgi?id=29568
Expand Down

0 comments on commit cde97d6

Please sign in to comment.