Commit graph

234 commits

Author SHA1 Message Date
Suyog Rao
183ab07ec0 shutdown after spec
Fixes #6236
2016-11-11 11:52:18 -05:00
Suyog Rao
b41407c99b Fix node stats test
Fixes #6236
2016-11-11 11:52:18 -05:00
Suyog Rao
e78fce609b Add JVM uptime stats
Fixes #6236
2016-11-11 11:52:18 -05:00
Tal Levy
370f403955 bump kafka setup for integration tests to 0.10.1.0 (#6230) 2016-11-09 16:38:09 -08:00
Andrew Cholakian
80d21712c6 Add Persistent UUID for Agent
This adds two new fields 'id', and 'name' to the base metadata for API requests.
These fields are now returned at all API endpoints by default.

The `id` field is the persisted UUID, the name field is the custom name
the user has passed in (defaulted to the hostname).

I renamed `node_uuid` and `node_name` to just `id` and `name` to be
inline with Elasticsearch.

This also fixed a broken test double in `webserver_spec.rb` that was
using doubles across threads which created hidden errors.

Fixes #6224
2016-11-09 07:40:47 -05:00
Pier-Hugues Pellerin
b566b0db55 Make sure we have we configure the ssl_certificate_authorities and set the verify mode to force_peer to make sure the input uses it.
Fixes #6185

Fixes #6192
2016-11-04 13:21:26 -04:00
Tal Levy
19d3232873 slowlog
Fixes #6128
2016-11-02 18:48:40 -04:00
Suyog Rao
e8f32f23fb Fix failing travis test
Fixes #6176
2016-11-02 18:10:39 -04:00
Suyog Rao
32363fb561 Make logstash.yml optional
5.0.0 required Logstash to have a valid logstash.yml before it could start successfully. This
was mostly fine for users who installed Logstash via tar.gz, but many many folks who install
it via packages still start Logstash manually. Also, our documentation uses -e flag for
getting started on Logstash and sending their first event.logstash.yml has only defaults defined,
and there is no required parameter to start Logstash. We should be able to use the defaults if no
logstash.yml. Obviously, this is not ideal from a user point of view, so we should log a warning but
continue to bootstrap.

Fixes #6170

Fixes #6172
2016-11-02 15:51:59 -04:00
Suyog Rao
ae60c7dfd4 -e and -f should merge even without valid conf file
Previously if both -e and -f was specified, LS required that
-f still have valid config file(s) before merging. This fixes it
to either have one of -f or -e provided

Fixes #6164
2016-11-01 18:37:38 -07:00
Suyog Rao
8cdd247070 add more debuggability for kafka tests
Fixes #6072
2016-10-19 20:50:09 -04:00
Suyog Rao
599065ef9e refine tests
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
86502c0bb7 Make tests more robust
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
d3357232b8 Increase the tries
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
4533bbbe97 Use try instead of stud::try
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
37800fc653 Use randomized ports
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
75d70c6a20 Add new tests and some helpers
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
b670c94362 Make changes to test framework for new tests
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
be43b4a013 Add new integration tests
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
c0c40c04d1 Add debug to Kafka scripts
Fixes #6054
2016-10-13 15:41:14 -04:00
Suyog Rao
490da48c22 Improvements to RATS test suite
* Reduce sleeps and output messages
* Cache installed services directory

Fixes #5968
2016-10-05 11:26:18 -04:00
Suyog Rao
65435ba41c Enable RATS integration tests on travis
Fixes #5963
2016-09-23 12:00:14 -04:00
Pier-Hugues Pellerin
19fe5de8cb fix beats integration test
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
dfd6164edd changes after review
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
4008a7ad7e Fixes after @ph review
Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
f6b623fe92 Update the configuration to make it work with the latest libbeat (#5944)
changes.

In beta1, some options changes occurred in filebeat with the name of the
ssl options.

Like theses:

tls=>ssl
certificate_key => key

Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
54f8cc1bb0 QA Integration dont ship with certificates (#5928)
We are removing the pre generated certificate from the repository, the
certificates needed for the test will be generated before downloading
filebeat.

Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
3b5ac6008b Adding integration testing for filebeat and make the test a bit more flexible
The test includes theses scenario

- No TLS
- TLS Server Auth
- TLS Mutual Auth

Theses theses test relies on a certicate include in the fixtures to correctly run,
there is also a script to generate them.

Make the ServiceLocator class is now more flexible and use the pattern matching
to create the registry on the fly

Fixes #5887

Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
761ce30966 Update README.md
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
b082beea64 Update README.md
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
735f684aa5 Add more setup info
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
d71112da0e Cleanup of print messages
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
aa957b3594 Update README.md
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
bb4189cdc8 Add initial round of integration tests
Fixes #5917
2016-09-22 13:43:47 -04:00