summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-07-09 02:01:43 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2019-07-09 23:57:45 +0200
commit16d0b8dcbd6a8a6be12a2732c7174529c3828051 (patch)
tree520017943d3730cbf391027267528d95b24dba21 /nixos/tests/all-tests.nix
parent60ed1f425b3d9a024239e86d6ac8566381576d69 (diff)
downloadnixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar.gz
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar.bz2
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar.lz
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar.xz
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.tar.zst
nixpkgs-16d0b8dcbd6a8a6be12a2732c7174529c3828051.zip
nixos/graylog: add test
Basic test which confirms new inputs can be created and that messages
can be sent to a UDP-GELF input using `netcat`.

This test requires 4GB of RAM to avoid issues due insufficient
memory (please refer to `nixos/tests/elk.nix` for a detailed explanation of
the issue) for elasticsearch.

Also it's ensured that elasticsearch has an open HTTP port for communication
when starting `graylog`. This is a workaround to ensure that all services
are started in proper order, even in test environments with less power.
However this shouldn't be implemented in the `nixos/graylog` module as
this might be harmful when using elasticsearch clusters that require e.g.
authentication and/or run on different servers.
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 359f62751b9..5a017639040 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -99,6 +99,7 @@ in
   graphene = handleTest ./graphene.nix {};
   grafana = handleTest ./grafana.nix {};
   graphite = handleTest ./graphite.nix {};
+  graylog = handleTest ./graylog.nix {};
   hadoop.hdfs = handleTestOn [ "x86_64-linux" ] ./hadoop/hdfs.nix {};
   hadoop.yarn = handleTestOn [ "x86_64-linux" ] ./hadoop/yarn.nix {};
   handbrake = handleTestOn ["x86_64-linux"] ./handbrake.nix {};