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
// Subsequent AAD connections within a short timeframe should use an auth token cached from the connection pool
470
-
// Second connection speed in tests was typically 10-15% of the first connection time. Using 30% since speeds may vary.
471
-
Assert.True(secondConnectionTime.ElapsedMilliseconds/firstConnectionTime.ElapsedMilliseconds<.30,$"Second AAD connection too slow ({secondConnectionTime.ElapsedMilliseconds}ms)! (More than 30% of the first ({firstConnectionTime.ElapsedMilliseconds}ms).)");
472
477
}
473
478
}
479
+
480
+
// Subsequent AAD connections within a short timeframe should use an auth token cached from the connection pool
481
+
// Second connection speed in tests was typically 10-15% of the first connection time. Using 30% since speeds may vary.
482
+
Assert.True(((double)secondConnectionTime.ElapsedMilliseconds/firstConnectionTime.ElapsedMilliseconds)<0.30,$"Second AAD connection too slow ({secondConnectionTime.ElapsedMilliseconds}ms)! (More than 30% of the first ({firstConnectionTime.ElapsedMilliseconds}ms).)");
0 commit comments