public async Task TestPostValueAsync() { try { var client = new InfluxDBClient (influxUrl, dbUName, dbpwd); var r = await client.PostValueAsync (dbName, measurementName, DateTime.UtcNow.ToEpoch(TimePrecision.Seconds),TimePrecision.Seconds,"testTag=testTagValue","Temp",33.05); Assert.IsTrue (r, "PostValueAsync retunred false"); } catch ( Exception e ) { Assert.Fail ("Unexpected exception of type {0} caught: {1}", e.GetType (), e.Message); return; } }