Commit 2a13d67d authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

nixosTests.scrutiny: remove explicit wait for influxdb2

Explicitly waiting for influxdb2 in the test, instead of fixing the
underlying issue[1], was hiding a real bug[2]. Now that the bug has been
fixed we can remove the wait code.

[1] Commit 732d3652 ("nixos/influxdb2: wait until service is ready")
[2] https://github.com/NixOS/nixpkgs/issues/317017 ("Scrutiny tries to start before influxdb has started")
parent 14f8e6c6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -49,10 +49,6 @@ import ./make-test-python.nix ({ lib, ... }:
  testScript = ''
    start_all()

    # Wait for InfluxDB to be available
    machine.wait_for_unit("influxdb2")
    machine.wait_for_open_port(8086)

    # Wait for Scrutiny to be available
    machine.wait_for_unit("scrutiny")
    machine.wait_for_open_port(8080)