logstash: fix test

embedded elasticsearch was removed: https://www.elastic.co/blog/logstash-1-4-3-released
This commit is contained in:
Jörg Thalheim 2016-10-01 22:58:08 +02:00
parent d2590d9d9e
commit 0334b75e12
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -25,7 +25,6 @@ import ./make-test.nix ({ pkgs, ...} : {
'';
outputConfig = ''
stdout { codec => rubydebug }
elasticsearch { embedded => true }
'';
};
};
@ -38,6 +37,5 @@ import ./make-test.nix ({ pkgs, ...} : {
$one->waitForUnit("logstash.service");
$one->waitUntilSucceeds("journalctl -n 20 _SYSTEMD_UNIT=logstash.service | grep flowers");
$one->fail("journalctl -n 20 _SYSTEMD_UNIT=logstash.service | grep dragons");
$one->waitUntilSucceeds("curl -s http://127.0.0.1:9200/_status?pretty=true | grep logstash");
'';
})