2019-08-15 15:11:38 +08:00
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using LeanCloud.Storage.Internal;
|
|
|
|
|
|
2019-09-17 11:53:28 +08:00
|
|
|
|
namespace LeanCloud.Test {
|
2019-08-15 15:11:38 +08:00
|
|
|
|
public class AppRouterTest {
|
|
|
|
|
[Test]
|
|
|
|
|
public async Task GetServers() {
|
|
|
|
|
var appRouter = new AppRouterController();
|
|
|
|
|
for (int i = 0; i < 1000; i++) {
|
|
|
|
|
var state = await appRouter.Get("BMYV4RKSTwo8WSqt8q9ezcWF-gzGzoHsz");
|
|
|
|
|
TestContext.Out.WriteLine(state.ApiServer);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|