forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration test audit (influxdata#8725)
- Loading branch information
1 parent
eda1dbc
commit d41569c
Showing
38 changed files
with
305 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Integration Tests | ||
|
||
To run our current integration test suite: | ||
|
||
Running the integration tests requires several docker containers to be | ||
running. You can start the containers with: | ||
``` | ||
docker-compose up | ||
``` | ||
|
||
To run only the integration tests use: | ||
|
||
``` | ||
make test-integration | ||
``` | ||
|
||
Use `make docker-kill` to stop the containers. | ||
|
||
Contributing integration tests: | ||
|
||
- Add Integration to the end of the test name so it will be run with the above command. | ||
- Writes tests where no library is being used in the plugin | ||
- There is poor code coverage | ||
- It has dynamic code that only gets run at runtime eg: SQL | ||
|
||
Current areas we have integration tests: | ||
|
||
| Area | What it does | | ||
|------------------------------------|-------------------------------------------| | ||
| Inputs: Aerospike | | | ||
| Inputs: Disque | | | ||
| Inputs: Dovecot | | | ||
| Inputs: Mcrouter | | | ||
| Inputs: Memcached | | | ||
| Inputs: Mysql | | | ||
| Inputs: Opcua | | | ||
| Inputs: Openldap | | | ||
| Inputs: Pgbouncer | | | ||
| Inputs: Postgresql | | | ||
| Inputs: Postgresql extensible | | | ||
| Inputs: Procstat / Native windows | | | ||
| Inputs: Prometheus | | | ||
| Inputs: Redis | | | ||
| Inputs: Sqlserver | | | ||
| Inputs: Win perf counters | | | ||
| Inputs: Win services | | | ||
| Inputs: Zookeeper | | | ||
| Outputs: Cratedb / Postgres | | | ||
| Outputs: Elasticsearch | | | ||
| Outputs: Kafka | | | ||
| Outputs: MQTT | | | ||
| Outputs: Nats | | | ||
| Outputs: NSQ | | | ||
|
||
Areas we would benefit most from new integration tests: | ||
|
||
| Area | | ||
|------------------------------------| | ||
| SNMP | | ||
| MYSQL | | ||
| SQLSERVER | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.