Commit graph

182 commits

Author SHA1 Message Date
Gabriel Moskovicz
ea535394de Add powershell script for windows testing
- Release acceptance test, which tests ports and run Logstash.
- Default plugins, which runs the same plugin installation and
environment for windows
- Simple integration, which integrates Logstash with Elasticsearch and a
simple configuration

Fixes #3994
2015-11-06 10:31:15 -08:00
Pere Urbon-Bayes
4abb4a0e2b remove stale jenkins configuration files from logstash
Fixes #2603
2015-02-16 09:07:09 +00:00
Pere Urbon-Bayes
df101b4d0e remove integration test that has been move into its own gem
Fixes #2270
2014-12-19 10:26:02 +00:00
Colin Surprenant
040396ac25 use Open3.popen3 to fix hanging IO in JRuby 9k 2014-10-24 23:59:44 -04:00
Colin Surprenant
30d3237eeb added apache logs, changed description and now computes top 20% 2014-10-22 17:57:17 -04:00
Colin Surprenant
973bb06ec4 track per second tps and report top & avg tps
Fixes #1773
2014-10-21 16:50:19 +00:00
Colin Surprenant
8ee1c73b95 first draft for performance integration tests
Fixes #1773
2014-10-21 16:50:19 +00:00
Jordan Sissel
5fa14984d2 - purge old and unused 'test' directory (everything is rspec now) 2013-06-23 22:57:42 -07:00
tejaycar
815f5b294a Added a test for the SINCEDB_DIR functionality
Setting SINCEDB_DIR in your environment allows you to override the target directory for sincedb files.  The added test verifies that this functionality works properly
2013-06-21 09:33:35 -05:00
Jordan Sissel
eb4338ab73 add a few more tests 2013-01-17 17:16:50 +00:00
Jordan Sissel
c2fb2a7520 tune ranges 2013-01-15 00:50:34 +00:00
Jordan Sissel
84be5370a1 - add index.html
- add more data to the runs
2013-01-15 00:47:10 +00:00
Jordan Sissel
b2139146d0 - hurray benchmarking 2013-01-14 23:35:51 +00:00
Laust Rud Jacobsen
51365d3748 Removing TestUnit cases that have been completely moved to RSpec 2012-11-25 16:25:06 +01:00
Jordan Sissel
9e62aa3c2a Merge branch 'master' of github.com:logstash/logstash 2012-10-22 11:44:41 -07:00
Jordan Sissel
268aa39cee Purge old/unused stuff 2012-10-22 11:27:09 -07:00
Jordan Sissel
8e17cc292b - Add 'redis' test service (download/build/run redis)
- Make redis input/output specs use a real redis server
- Fix test_utils bugs to make around(:each) work.
2012-10-20 23:28:10 -07:00
Jordan Sissel
f97b40c8af remove old test stuff 2012-10-18 22:55:53 -07:00
Jordan Sissel
e153e4b85e Merge pull request #177 from ox-it/master
A RELP input plugin
2012-10-16 16:26:58 -07:00
Jordan Sissel
21313bd5e4 Add the generator job 2012-10-15 23:21:30 -07:00
Jordan Sissel
820de6598c prefix job name with 'plugin' 2012-10-15 23:19:37 -07:00
Jordan Sissel
232d722e8e Build on git pushes 2012-10-15 23:17:52 -07:00
Jordan Sissel
b9a64717e3 - jobs dir. 2012-10-15 23:14:25 -07:00
Jordan Sissel
3c36390b1e Fix job generation 2012-10-15 23:09:42 -07:00
Jordan Sissel
0581bb278e Add jenkins job creator 2012-10-15 23:07:26 -07:00
Jordan Sissel
e57842d024 fix up grok speed test 2012-10-04 13:11:30 -07:00
Jordan Sissel
3ef31d3442 - commit quick scratches to test perf 2012-09-11 00:42:10 -07:00
Jordan Sissel
5d6bc3c79e Purge old and unused test stuff 2012-08-29 16:44:03 -07:00
Mike Worth
d5d5009c9b Style cleanup 2012-08-15 14:43:21 +01:00
Jordan Sissel
fd00e929fb - fix uppercase/lowercase bug where arrays would not be considered
(common when you use grok).
- Add tests to ensure coverage of both string and array-of-string cases.
2012-08-10 10:30:25 -07:00
Jordan Sissel
c23403f232 - Add test to cover pull #175 / LOGSTASH-528 2012-08-06 14:22:34 -07:00
Mike Worth
9887cddeb8 Removed a couple of comments that were lying about referring to problems I've since fixed 2012-08-03 11:06:38 +01:00
Mike Worth
e7fdbeee3c Added some more tests and tweaked things so that they pass
I've added some tests that ensure the Relp class handles some relp
errors properly; it checks that it raises the correct warnings but
allows continued execution of the server. There are still a few
things that need cleaning up, but on the whole it seems to be
working.
2012-08-03 10:55:52 +01:00
Mike Worth
5db5872385 Made required commands in handshake variables
Syslog is no longer hardcoded in as the one required command, you
can pass an array to RelpServer or RelpClient on creation. All
elements in this array must be offered by the other participant for
the handshake to complete.
2012-07-30 17:21:57 +01:00
Mike Worth
db4e122614 Written first attempt at tests
Copied test_gelf and altered the gelf specific parts to relp; not
entirely sure if there is a standard set of things to test. Should
I intentially send bad offer frames and check that the appropriate
exceptions get raised? What about invalid/inappropriate relp
commands? What about frames with an incorrect datalen to cause
frame misalignment?
2012-07-30 15:48:46 +01:00
Pete Fritchman
3094986dfd no more prepare_metrics 2012-07-16 06:43:35 -04:00
Pete Fritchman
3383837f29 add gsub tests 2012-07-07 14:35:18 -04:00
Pete Fritchman
f9e24276b4 add some tests for base filter class 2012-07-06 23:49:51 -04:00
Pete Fritchman
7052973aed allow event.sprintf to look inside structured data 2012-07-06 13:35:59 -04:00
Marc Huffnagle
07b4dd3bb4 Added a test to ensure that the absolute path changes I just made didn't break wildcard path specifications. 2012-06-24 15:21:25 -04:00
Marc Huffnagle
05c7dfd962 LOGSTASH-503: Gracefully reject relative file input paths
Will raise an ArgumentError if the user tries to use a relative path for a file
nput path.  Also added tests for this functionality.
2012-06-24 15:12:50 -04:00
Marc Huffnagle
8f58bd9357 Refactored file input to use the addressable gem.
Ruby's std-lib URI parsing leaves something to be desired, so using
addressable.  Also added a test to make sure that the file input creates
a correct source and refactored the file input tests to timeout after 5
seconds.
2012-06-22 18:58:52 -04:00
Marc Huffnagle
292035ef6f Fixed an incorrect comment in the Gelf input tests. 2012-06-22 16:44:42 -04:00
Marc Huffnagle
ae8d17caa8 Adds a test and fix for JIRA issue LOGSTASH-501: The file input adds an extra forward slash to the front of @source_path 2012-06-22 16:37:45 -04:00
Pete Fritchman
794b43e380 tests for syslog_pri and other cleanup 2012-06-22 09:47:34 -04:00
Pete Fritchman
fcca331689 add csv filter 2012-06-19 18:58:27 -04:00
Harlan Barnes
cd2677ddac xml.rb - XML Filter
Supports parsing whole XML into destination field and/or parsing
for specific strings using XPath.
2012-06-18 03:35:42 -04:00
Nicholas Padilla
473fa4541a rebase with upstream/master 2012-05-10 08:55:33 -06:00
Jordan Sissel
bd6f124092 make running a single test file possible 2012-02-09 12:52:40 -08:00
Nick Ethier
bf8a14b7cb Enabled LogStash to be built and tested on the Travis-CI Platform (travis-ci.org)
I removed the Gemfile.lock this lets travis-ci build without having to remove it or update it before running bundle install.

I added tests for the split filter. They test that the split filter behaves properly under default and non-default configuration.

I've disabled the following tests pending changes:
elasticsearch basic output
fifo file output

Squashed commit of the following:

commit fc9e2e61bad3f6c86ccba00a4a9fa4ad3e5e5030
Author: Nick Ethier <ncethier@gmail.com>
Date:   Thu Feb 9 13:21:48 2012 -0700

    housekeeping

commit 6cbeb2ded72a81e8e7b88b140a5796a35f21dbed
Author: Nick Ethier <ncethier@gmail.com>
Date:   Thu Feb 9 13:04:09 2012 -0700

    Added tests for the split filter

commit b54b9fca7ebc0b1963e71494374b46dd25e80916
Author: Nick Ethier <ncethier@gmail.com>
Date:   Thu Feb 9 00:19:39 2012 -0700

    Adjust grok performance limit

commit c0d810e6070dd94e9db94d86fa52feb6a5836d03
Author: Nick Ethier <ncethier@gmail.com>
Date:   Thu Feb 9 00:05:02 2012 -0700

    update deps, skip a couple tests until i can debug them, also set the file output test to flush after every event

commit b490b1e56dd6789dc4974e3010454184a4d6d352
Author: Nick Ethier <ncethier@gmail.com>
Date:   Wed Feb 8 20:59:15 2012 -0700

    more updates to make travis-ci happy

commit ab9cc6d76f7c6404d61e4c9374a4a92cc87a6642
Author: Nick Ethier <ncethier@gmail.com>
Date:   Wed Feb 8 20:33:21 2012 -0700

    Disabled file output test

commit ce8a45af222fd0030be37fdd174d5b7f34984e10
Author: Nick Ethier <ncethier@gmail.com>
Date:   Wed Feb 8 19:53:13 2012 -0700

    update lock before install

commit 99ad33f2d89db2068ba030fb9b16e0551e35bae6
Author: Nick Ethier <ncethier@gmail.com>
Date:   Wed Feb 8 19:49:41 2012 -0700

    add build image to readme

commit 0d7fa48acfca41b3d9de0e947d100a790c4cdb68
Author: Nick Ethier <ncethier@gmail.com>
Date:   Wed Feb 8 19:44:13 2012 -0700

    see if travis will work out of the box
2012-02-09 13:23:34 -07:00