about summary refs log tree commit diff
path: root/nixos/tests/tika.nix
blob: 61a3a6ad22aed0b96442ce482906635a881c6a16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, ... }:

{
  name = "tika-server";

  nodes = {
    machine = { pkgs, ... }: {
      services.tika = {
        enable = true;
      };
    };
  };

  testScript = ''
    machine.start()
    machine.wait_for_unit("tika.service")
    machine.wait_for_open_port(9998)
  '';

  meta.maintainers = [ lib.maintainers.drupol ];
}