Disable quadricagx tests because exchange is down

This commit is contained in:
nicolas.dorier
2019-01-29 18:33:56 +09:00
parent f09f23e570
commit f5b693f01b

View File

@@ -2138,8 +2138,9 @@ donation:
}
}
[Fact]
[Trait("Integration", "Integration")]
//[Fact]
//[Trait("Integration", "Integration")]
// 29 january, the exchange is down
public void CheckQuadrigacxRateProvider()
{
var quadri = new QuadrigacxRateProvider();
@@ -2164,6 +2165,9 @@ donation:
.Select(p => (ExpectedName: p.Key, ResultAsync: p.Value.GetRatesAsync(), Fetcher: (BackgroundFetcherRateProvider)p.Value))
.ToList())
{
Logs.Tester.LogInformation($"Testing {result.ExpectedName}");
if (result.ExpectedName == "quadrigacx")
continue; // 29 january, the exchange is down
result.Fetcher.InvalidateCache();
var exchangeRates = result.ResultAsync.Result;
result.Fetcher.InvalidateCache();