public async Task TestGetInfluxDBStructureAsync()
{
try
{
var client = new InfluxDBClient (influxUrl, dbUName, dbpwd);
var r = await client.GetInfluxDBStructureAsync ("InvalidDB");
Assert.IsTrue (r != null && r.Count == 0, "GetInfluxDBNamesAsync retunred null or non empty collection");
}
catch ( Exception e )
{
Assert.Fail ("Unexpected exception of type {0} caught: {1}",
e.GetType (), e.Message);
return;
}
}