Skip to content

Commit

Permalink
fix: Bump ApiVersion v3 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
aiven-anton committed Oct 29, 2024
1 parent 4ef85eb commit 6055532
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,33 +201,33 @@ async def test_roundtrip_api_versions_v3() -> None:
api_versions_v3_response.SupportedFeatureKey(
name="metadata.version",
min_version=i16(1),
max_version=i16(20),
max_version=i16(21),
),
),
finalized_features=(
api_versions_v3_response.FinalizedFeatureKey(
name="metadata.version",
min_version_level=i16(20),
max_version_level=i16(20),
min_version_level=i16(21),
max_version_level=i16(21),
),
),
finalized_features_epoch=mock.ANY,
api_keys=(
ApiVersion(api_key=i16(0), min_version=i16(0), max_version=i16(11)),
ApiVersion(api_key=i16(1), min_version=i16(0), max_version=i16(16)),
ApiVersion(api_key=i16(2), min_version=i16(0), max_version=i16(8)),
ApiVersion(api_key=i16(1), min_version=i16(0), max_version=i16(17)),
ApiVersion(api_key=i16(2), min_version=i16(0), max_version=i16(9)),
ApiVersion(api_key=i16(3), min_version=i16(0), max_version=i16(12)),
ApiVersion(api_key=i16(8), min_version=i16(0), max_version=i16(9)),
ApiVersion(api_key=i16(9), min_version=i16(0), max_version=i16(9)),
ApiVersion(api_key=i16(10), min_version=i16(0), max_version=i16(5)),
ApiVersion(api_key=i16(10), min_version=i16(0), max_version=i16(6)),
ApiVersion(api_key=i16(11), min_version=i16(0), max_version=i16(9)),
ApiVersion(api_key=i16(12), min_version=i16(0), max_version=i16(4)),
ApiVersion(api_key=i16(13), min_version=i16(0), max_version=i16(5)),
ApiVersion(api_key=i16(14), min_version=i16(0), max_version=i16(5)),
ApiVersion(api_key=i16(15), min_version=i16(0), max_version=i16(5)),
ApiVersion(api_key=i16(16), min_version=i16(0), max_version=i16(5)),
ApiVersion(api_key=i16(17), min_version=i16(0), max_version=i16(1)),
ApiVersion(api_key=i16(18), min_version=i16(0), max_version=i16(3)),
ApiVersion(api_key=i16(18), min_version=i16(0), max_version=i16(4)),
ApiVersion(api_key=i16(19), min_version=i16(0), max_version=i16(7)),
ApiVersion(api_key=i16(20), min_version=i16(0), max_version=i16(6)),
ApiVersion(api_key=i16(21), min_version=i16(0), max_version=i16(2)),
Expand Down Expand Up @@ -261,7 +261,7 @@ async def test_roundtrip_api_versions_v3() -> None:
ApiVersion(api_key=i16(49), min_version=i16(0), max_version=i16(1)),
ApiVersion(api_key=i16(50), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(51), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(55), min_version=i16(0), max_version=i16(1)),
ApiVersion(api_key=i16(55), min_version=i16(0), max_version=i16(2)),
ApiVersion(api_key=i16(57), min_version=i16(0), max_version=i16(1)),
ApiVersion(api_key=i16(60), min_version=i16(0), max_version=i16(1)),
ApiVersion(api_key=i16(61), min_version=i16(0), max_version=i16(0)),
Expand All @@ -272,6 +272,8 @@ async def test_roundtrip_api_versions_v3() -> None:
ApiVersion(api_key=i16(69), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(74), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(75), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(80), min_version=i16(0), max_version=i16(0)),
ApiVersion(api_key=i16(81), min_version=i16(0), max_version=i16(0)),
),
zk_migration_ready=False,
)
Expand Down

0 comments on commit 6055532

Please sign in to comment.