depot/nixos/tests/tika.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
329 B
Nix
Raw Normal View History

{ 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 ];
}