Looks like the "A Native Collection hasn't been disposed" error at this point is only present due to use not disposing of the NetworkDriver when we're done with Relay.
LogAssert.ignoreFailingMessages=true;// Not sure why, but when auth logs in, it sometimes generates an error: "A Native Collection has not been disposed[...]." We don't want this to cause test failures, since in practice it *seems* to not negatively impact behavior.
// Wait a reasonable amount of time for sign-in to complete.
if(!m_didSigninComplete)
yieldreturnnewWaitForSeconds(3);
// Some error messages might be asynchronous, so to reduce spillover into other tests, just wait here for a bit before proceeding.
yieldreturnnewWaitForSeconds(3);
LogAssert.ignoreFailingMessages=false;
}
/// <summary>
publicIEnumeratorOnCompletesOnFailure()
{
LogAssert.ignoreFailingMessages=true;
LogAssert.Expect(LogType.Exception,newRegex(".*400 Bad Request.*"));