Skip to content

Commit

Permalink
[#1493] Enable IPv6 stats system test
Browse files Browse the repository at this point in the history
  • Loading branch information
msiodelski committed Sep 9, 2024
1 parent caf7587 commit a8aff3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/system/tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ def test_get_kea_stats(
# 9 leases are initially store in the lease database
assert int(data.dhcp4_stats.assigned_addresses) > 9
assert data.subnets4.items is not None
# ToDo: Add support for generation IPv6 traffic.
# assert int(data['dhcp6_stats']['assignedNAs']) > 9
# assert data['subnets6']['items'] is not None
# ToDo: When we add support for IPv6 traffic generation
# we will be able to test the number of assigned addresses
# is greater than 9.
assert int(data.dhcp6_stats.assigned_nas) == 9
assert data.subnets6.items is not None

# Check if Stork Agent handles all metrics returned by Kea.
# Disable this check because Prometheus is missing pool stats.
# @todo: enable after fixing #1153.
# assert not kea_service.has_encountered_unsupported_statistic()
assert not kea_service.has_encountered_unsupported_statistic()

0 comments on commit a8aff3c

Please sign in to comment.