TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function.
(tqName string)
| 1566 | |
| 1567 | // TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function. |
| 1568 | func (s *taskQueueStatsContext) deploymentOptions(tqName string) *deploymentpb.WorkerDeploymentOptions { |
| 1569 | return &deploymentpb.WorkerDeploymentOptions{ |
| 1570 | DeploymentName: tqName + "-deployment", |
| 1571 | BuildId: "build-id", |
| 1572 | WorkerVersioningMode: enumspb.WORKER_VERSIONING_MODE_VERSIONED, |
| 1573 | } |
| 1574 | } |
| 1575 | |
| 1576 | func validateTaskQueueStatsStrict( |
| 1577 | t require.TestingT, |
no outgoing calls
no test coverage detected