Commit graph

72 commits

Author SHA1 Message Date
Jordan Sissel
a6f3fdfa55 - re-enable tests 2011-06-09 10:32:06 -07:00
Jordan Sissel
5319eb65c2 - improve elasticsearch 'embedded' support 2011-06-09 00:08:48 -07:00
Jordan Sissel
aa226a09e1 - add test description for web/api 2011-05-08 11:03:12 -07:00
Jordan Sissel
fc4bee74a5 add new testing config 2011-05-08 11:02:54 -07:00
Jordan Sissel
4ec683e160 - If a config is a password, make sure the default value, if used, is
also a password object.
- Update some test configs.
2011-05-08 10:58:13 -07:00
Jordan Sissel
2f4be0a8e9 - add configs for testing 2011-05-06 14:06:00 -07:00
Jordan Sissel
c30ce8b0ea - test against 0.16.0 2011-05-06 14:03:37 -07:00
Jordan Sissel
d4ab66da12 - update gemspec for 1.0 prep
- move loadlibs to lib
2011-05-01 11:40:09 -07:00
Jordan Sissel
6335bb08ad - rename test runner for easier launching from the jar. 2011-04-09 01:58:13 -07:00
Jordan Sissel
f76c88a1ad - fix broken tests 2011-04-07 17:25:51 -07:00
Jordan Sissel
424aef4803 - Update grok filter to handle multiple messages if
LogStash::Event#message is an array. (LOGSTASH-38)
2011-04-03 22:40:27 -07:00
Jordan Sissel
b4ff4ce64e - split Agent#run into #run and #run_with_config for easier testing.
- yield in run_with_config if we get a block (this is necessary for
  testing so we can determine when the agent is done setting up
  inputs/outputs/etc)
- Allow LogStash::Config::File.new to take a string that is the value
  for the config text. Used for testing.
- Fix outputs/internal to work with the new jruby/thread model
- fix the file input tests in jrubyland

Test status for inputs/test_file.rb
  Finished in 2.3 seconds.
  1 tests, 32 assertions, 0 failures, 0 errors
2011-03-27 20:58:19 -07:00
Jordan Sissel
1b906e8fa2 - Add spoon gem for tests
- Update some Gemfile deps/versions
- Make LogStash::Search::ElasticSearch#search support sync and async
  Also finish converting it to use jruby-elasticsearch
- Make outputs/test_elasticsearch.rb pass! Whew!

Full test suite result:
  Finished in 38.082 seconds.
  25 tests, 112 assertions, 0 failures, 0 errors
2011-03-27 01:23:31 -07:00
Jordan Sissel
8f478c56a4 more in-progress work on elasticsearch testing 2011-03-26 23:46:22 -07:00
Jordan Sissel
5f4f5bfef3 - Add cluster name support to outputs/elasticsearch
- converted search/elasticsearch to use jruby-elasticsearch internally
  (was em-http-request)
- Started working on jruby-ifying the outputs/elasticsearch test. Slow
  goings...
- Added gem 'spoon' (implements posix_spawn) since jruby doesn't have
  fork.
2011-03-26 01:40:16 -07:00
Jordan Sissel
2e160365a0 Merge branch 'master' of github.com:logstash/logstash
Conflicts:
	Gemfile
2011-03-18 22:44:39 -07:00
Jordan Sissel
0697cdfc7f - use jruby 1.6.0
- some ordering changes
2011-03-18 22:42:38 -07:00
Jordan Sissel
cc7137d62e - Fix some date testing that broke after DST switch
- disable some tests until they get converted to be jruby-friendly
2011-03-17 01:18:48 -07:00
Jordan Sissel
f204610c5e - Update lib loading; dump any jars into vendor/ 2011-03-08 01:04:12 -08:00
Jordan Sissel
94b69d87c3 - timeout speed test if it runs long
- use [foo] not foo.to_a for String, since Object#to_a is going away.
2011-03-08 01:03:19 -08:00
Jordan Sissel
072a9bb1a3 - Add test for grok type hinting
(http://code.google.com/p/logstash/issues/detail?id=45)
2011-03-01 17:30:43 -08:00
Jordan Sissel
0c0101206b - saner rate formatting 2011-02-27 03:15:31 -08:00
Jordan Sissel
03a8a37bdb - Add speed test for grok filter 2011-02-27 03:10:42 -08:00
Jordan Sissel
c2ae6f2412 - periodically check assertions in speed test
- remove trailing comma
2011-02-27 03:02:42 -08:00
Jordan Sissel
624b02e7b2 - Trim debug output
- Add speed test for date parsing
- Remove timezone 'missing' format check since we don't need it anymore.
2011-02-27 02:26:01 -08:00
Jordan Sissel
4f6e8f5cf7 - require jls-grok >=0.4.3
- Add basic tests for grok filter
2011-02-27 00:58:25 -08:00
Jordan Sissel
2f81eb1d1d - Fixup the multiline tests with after th enew config and jruby moves.
LOGSTASH-17
2011-02-26 23:22:06 -08:00
Jordan Sissel
5c5433b9e5 - Update grep to use the new config format and be happy in jruby.
(LOGSTASH-15)
2011-02-26 22:29:21 -08:00
Jordan Sissel
5126318719 - Push tz setting into setup 2011-02-26 21:52:52 -08:00
Jordan Sissel
6f1d479676 - filters/date unit tests pass again. LOGSTASH-13 2011-02-26 20:32:07 -08:00
Jordan Sissel
805d8b1774 - More awesome? 2011-02-22 00:37:23 -08:00
Jordan Sissel
d31e8caeb1 - don't use grok for now 2011-02-22 00:36:58 -08:00
Jordan Sissel
003a680d78 - Oops, already implemented sprintf. Move the new format to sprintf.
- Fix unit tests to support new %{} syntax (was ${})
2011-02-20 23:53:37 -08:00
Jordan Sissel
15bb95dc87 - Start working on issue/30 (refactor the search api to be pluggable)
- Updated test_elasticsearch to use the new api, passes.
2011-02-09 03:19:23 -08:00
Jordan Sissel
f852b63ede - specify rubies 2011-02-06 22:57:05 -08:00
Jordan Sissel
eb967d8f57 - don't do git stuff anymore 2011-02-06 21:38:20 -08:00
Jordan Sissel
2aab956352 - Set a unique ES cluster name to ensure we stay away from other active
ES nodes.
- Tests pass again
2011-02-06 20:15:07 -08:00
Jordan Sissel
106ff0bed6 - Allow specifying a port for elasticsearch 2011-02-06 18:33:29 -08:00
Jordan Sissel
b5d5136300 - Make ES test run ES on a random port. 2011-02-06 13:36:24 -08:00
Jordan Sissel
4f39bed272 - bleh. force gems to update so stompserver installs.
Tests pass now run through rvm.
2011-02-06 02:51:01 -08:00
Jordan Sissel
25bbb94d9a - Be more friendly to stuff like rvm, etc.
Example, instead of running 'stompserver' we should ask
  rubygems where bin/stompserver is and then exec /proc/self/exe
  and run that. This will ensure we stay within our environment.
2011-02-06 02:30:00 -08:00
Jordan Sissel
3b284fa767 - Try to make the tests a bit more rvm friendly. 2011-02-06 02:22:02 -08:00
Jordan Sissel
29abef6061 Merge branch 'master' of github.com:logstash/logstash 2011-02-06 01:52:34 -08:00
Jordan Sissel
6cf0aeefe4 - add test runner via rvm 2011-02-06 01:50:59 -08:00
Jordan Sissel
657b19db39 - add output/elasticsearch tests to default run 2011-02-04 02:35:16 -08:00
Jordan Sissel
0dac4260f5 - Got working elasticsearch tests going
- Allow multiple versions of elasticsearch to be tested with the same
  tests.
2011-02-04 02:30:22 -08:00
Jordan Sissel
d878e44fb4 - fix wipe target 2011-02-04 02:30:12 -08:00
Jordan Sissel
ce70dd9bf7 - Add TODO to add exception handlers for input/output/filter and agent
components so we can better test them.
2011-02-03 03:40:47 -08:00
Jordan Sissel
8c959330ec - Start working on the elasticsearch output test 2011-02-03 03:35:49 -08:00
Jordan Sissel
ef8a38ba1f - Add wipe/remove targets
- Download the .zip since .tar.gz releases of ES are only recent and
  zip goes way back in ES release history.
2011-02-03 03:10:02 -08:00