From ff9e775207638e79c4b683e39c22618b96c17335 Mon Sep 17 00:00:00 2001 From: Tom Watt Date: Sat, 14 Dec 2024 08:50:01 +0000 Subject: [PATCH] test: add RefreshState to test to detect changes for diff/plan Signed-off-by: Tom Watt --- buildkite/resource_cluster_queue_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildkite/resource_cluster_queue_test.go b/buildkite/resource_cluster_queue_test.go index 2d0712b5..7444de3a 100644 --- a/buildkite/resource_cluster_queue_test.go +++ b/buildkite/resource_cluster_queue_test.go @@ -112,8 +112,9 @@ func TestAccBuildkiteClusterQueueResource(t *testing.T) { Check: check, }, { - Config: configBasic(clusterName, queueKey, updatedQueueDesc), - Check: checkUpdated, + Config: configBasic(clusterName, queueKey, updatedQueueDesc), + Check: checkUpdated, + RefreshState: true, // Destroying a queue will pause its dispatch ExpectNonEmptyPlan: true, },