You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Xamarin.Android.Build.Tests] Fix DesignTimeBuild Test (#711)
The test was using the global cache to store the downloaded files.
As a result if we get multiple tests/commits building at the
same time we end up deleting files half way through a test run.
So lets make use of a local cache for the test by using the
`XAMARIN_CACHEPATH` environment variable.
Assert.IsFalse(b.Output.IsTargetSkipped("_BuildAdditionalResourcesCache"),"_BuildAdditionalResourcesCache should have run.");
90
+
Assert.IsTrue(b.LastBuildOutput.Contains($"Downloading {url}")||b.LastBuildOutput.Contains($"reusing existing archive: {zipPath}"),$"{url} should have been downloaded.");
81
91
Assert.IsTrue(File.Exists(Path.Combine(extractedDir,"1","content","android-N","aapt")),$"Files should have been extracted to {extractedDir}");
0 commit comments