From 9636c45a40e575e9d955517c008ac4c3f9836cee Mon Sep 17 00:00:00 2001 From: Clint Branham Date: Wed, 25 Mar 2026 10:17:52 -0500 Subject: [PATCH] fix: remove unsupported affinity param from HA rule test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PVE 9 rejects 'affinity' as an unexpected property on POST cluster/ha/rules — it's implied by the node-affinity type. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Integration/ZZ.ClusterConfig.Integration.Tests.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/PSProxmoxVE.Tests/Integration/ZZ.ClusterConfig.Integration.Tests.ps1 b/tests/PSProxmoxVE.Tests/Integration/ZZ.ClusterConfig.Integration.Tests.ps1 index 9e4e0ca..657e6d0 100644 --- a/tests/PSProxmoxVE.Tests/Integration/ZZ.ClusterConfig.Integration.Tests.ps1 +++ b/tests/PSProxmoxVE.Tests/Integration/ZZ.ClusterConfig.Integration.Tests.ps1 @@ -422,7 +422,6 @@ Describe 'Cluster Config & HA Lifecycle — Integration' -Tag 'Integration' { rule = 'pester-rule-1' resources = 'vm:99999' nodes = $script:Node - affinity = 'positive' } ` -Comment 'Pester test rule' ` -Confirm:$false `