Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
@@ -808,6 +808,13 @@ namespace UnitTest
EXPECT_NE(assets.find(MyAsset1Id), assets.end());
AssetManager::Instance().ResumeAssetRelease();
// Sleep to allow for the assets to release
int retryCount = 100;
while ((--retryCount>0) && assets.size() > 0)
{
AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(10));
}
EXPECT_EQ(assets.size(), 0);
}