MCPcopy Create free account
hub / github.com/temporalio/temporal / runTaskQueueRateLimitTest

Method runTaskQueueRateLimitTest

tests/task_queue_test.go:69–73  ·  view source on GitHub ↗
(nPartitions, nWorkers int, timeToDrain time.Duration, useNewMatching bool)

Source from the content-addressed store, hash-verified

67}
68
69func (s *TaskQueueSuite) runTaskQueueRateLimitTest(nPartitions, nWorkers int, timeToDrain time.Duration, useNewMatching bool) {
70 s.Run(s.testTaskQueueRateLimitName(nPartitions, nWorkers, useNewMatching), func(s *TaskQueueSuite) {
71 s.taskQueueRateLimitTest(nPartitions, nWorkers, timeToDrain, useNewMatching)
72 })
73}
74
75func (s *TaskQueueSuite) taskQueueRateLimitTest(nPartitions, nWorkers int, timeToDrain time.Duration, useNewMatching bool) {
76 env := s.newTestEnv(

Callers 1

Calls 3

RunMethod · 0.65

Tested by

no test coverage detected