From b7d8afc9065caa234cb10d67aa550c3e147f9d74 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 8 Apr 2026 22:45:21 +0200 Subject: [PATCH] tests.home-assistant-component-tests.influxdb: disable failing tests These tests fail because they check for the number of warnings in the logs and there is an extra warning in the logs. --- pkgs/servers/home-assistant/tests.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index db2118b87ef1..aad0d44fd0d6 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -172,6 +172,13 @@ let # outdated snapshot "tests/components/hypontech/test_sensor.py::test_sensors" ]; + influxdb = [ + # These tests fail because they check for the number of warnings in the + # logs and there is an extra warning in the logs: + # `WARNING:aiohttp_fast_zlib:zlib_ng and isal are not available, falling back to zlib, performance will be degraded.` + "tests/components/influxdb/test_sensor.py::test_state_for_no_results" + "tests/components/influxdb/test_sensor.py::test_state_matches_first_query_result_for_multiple_return" + ]; jellyfin = [ # AssertionError: assert 'audio/x-flac' == 'audio/flac' "tests/components/jellyfin/test_media_source.py::test_resolve"