[
https://issues.apache.org/jira/browse/NIFI-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414033#comment-16414033
]
ASF GitHub Bot commented on NIFI-4927:
--------------------------------------
Github user MikeThomsen commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2562#discussion_r177131556
--- Diff:
nifi-nar-bundles/nifi-influxdb-bundle/nifi-influxdb-processors/src/test/java/org/apache/nifi/processors/influxdb/AbstractITInfluxDB.java
---
@@ -36,14 +36,7 @@
protected void initInfluxDB() throws InterruptedException, Exception {
influxDB = InfluxDBFactory.connect(dbUrl,user,password);
- if ( influxDB.databaseExists(dbName) ) {
- QueryResult result = influxDB.query(new Query("DROP
measurement water", dbName));
- checkError(result);
- result = influxDB.query(new Query("DROP measurement testm",
dbName));
- checkError(result);
- result = influxDB.query(new Query("DROP database " + dbName,
dbName));
- Thread.sleep(1000);
- }
+ cleanUpDatabase();
--- End diff --
What I meant was that the cleanup functionality shouldn't be called in the
init, but should be called from the `@After` annotated method.
> Create InfluxDB Query Processor
> -------------------------------
>
> Key: NIFI-4927
> URL: https://issues.apache.org/jira/browse/NIFI-4927
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Affects Versions: 1.5.0
> Reporter: Mans Singh
> Assignee: Mans Singh
> Priority: Minor
> Labels: measurements,, query, realtime, timeseries
>
> Create InfluxDB Query processor
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)