Skip to content

Commit

Permalink
disable tq info caching in task queue test (#726)
Browse files Browse the repository at this point in the history
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->

## Why?
<!-- Tell your future self why have you made these changes -->

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->

3. Any docs updates needed?
<!--- update README if applicable
      or point out where to update docs.temporal.io -->
  • Loading branch information
carlydf authored Jan 8, 2025
1 parent ba226ec commit 7d54c66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions temporalcli/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ func (s *SharedServerSuite) SetupSuite() {
// Allow a high rate of change to namespaces, particularly
// for the task-queue command tests.
"frontend.namespaceRPS.visibility": 10000,
// this is overridden since we don't want caching to be enabled while testing DescribeTaskQueue
// behaviour related to versioning
"matching.TaskQueueInfoByBuildIdTTL": 0 * time.Second,
},
},
})
Expand Down

0 comments on commit 7d54c66

Please sign in to comment.