Skip to content

Commit

Permalink
test: add RefreshState to test to detect changes for diff/plan
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Watt <[email protected]>
  • Loading branch information
tomowatt committed Dec 14, 2024
1 parent b2014ca commit ff9e775
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildkite/resource_cluster_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit ff9e775

Please sign in to comment.