public async Task TestDropMeasurementAsyncError()
        {
            var measurement = "hara-kiri";
            var client      = new InfluxDBClient(influxUrl, dbUName, dbpwd);
            var points      = await CreateTestPoints(measurement, 10);

            var r = await client.PostPointsAsync(dbName, points);

            var d = new InfluxMeasurement(measurement);
            await AssertEx.ThrowsAsync <InfluxDBException>(() => client.DropMeasurementAsync(new InfluxDatabase(invalidDbName), d));
        }
        public async Task TestDropMeasurementAsync()
        {
            var measurement = "hara-kiri";
            var client      = new InfluxDBClient(influxUrl, dbUName, dbpwd);
            var points      = await CreateTestPoints(measurement, 10);

            var r = await client.PostPointsAsync(dbName, points);

            var d = new InfluxMeasurement(measurement);

            r = await client.DropMeasurementAsync(new InfluxDatabase(dbName), d);

            Assert.IsTrue(r && d.Deleted, "DropMeasurementAsync retunred false");
        }