Skip to content

Commit

Permalink
fix failing versioning test
Browse files Browse the repository at this point in the history
  • Loading branch information
ychebotarev committed Dec 13, 2024
1 parent c8c7a41 commit bdff757
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion temporalcli/commands.taskqueue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (s *SharedServerSuite) TestTaskQueue_Describe_Task_Queue_Stats_NonEmpty() {
}
}

func (s *SharedServerSuite) DisableTestTaskQueue_Describe_Simple() {
func (s *SharedServerSuite) TestTaskQueue_Describe_Simple() {
type reachabilityRowType struct {
BuildID string `json:"buildId"`
Reachability string `json:"reachability"`
Expand Down
5 changes: 4 additions & 1 deletion temporalcli/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ func (s *SharedServerSuite) SetupSuite() {
// Allow a high rate of change to namespaces, particularly
// for the task-queue command tests.
"frontend.namespaceRPS.visibility": 10000,
"frontend.activityAPIsEnabled": true,
// 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 Expand Up @@ -370,7 +374,6 @@ func StartDevServer(t *testing.T, options DevServerOptions) *DevServer {
d.Options.DynamicConfigValues["frontend.MaxConcurrentBatchOperationPerNamespace"] = 1000
d.Options.DynamicConfigValues["frontend.namespaceRPS.visibility"] = 100
d.Options.DynamicConfigValues["system.clusterMetadataRefreshInterval"] = 100 * time.Millisecond
d.Options.DynamicConfigValues["frontend.activityAPIsEnabled"] = true

d.Options.GRPCInterceptors = append(
d.Options.GRPCInterceptors,
Expand Down

0 comments on commit bdff757

Please sign in to comment.