We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c2fe0 commit cb60d7cCopy full SHA for cb60d7c
packages/test/src/test-worker-poller-autoscale.ts
@@ -48,7 +48,7 @@ test.serial('Can run autoscaling polling worker', async (t) => {
48
const activity_pollers = matches.filter((l) => l.includes('activity_task'));
49
t.is(activity_pollers.length, 1, 'Should have exactly one activity poller metric');
50
t.true(activity_pollers[0].endsWith('2'), 'Activity poller count should be 2');
51
- const workflow_pollers = matches.filter((l) => l.includes('workflow_task'));
+ const workflow_pollers = matches.filter((l) => l.includes('workflow_task') && l.includes(taskQueue));
52
t.is(workflow_pollers.length, 2, 'Should have exactly two workflow poller metrics (sticky and non-sticky)');
53
54
// There's sticky & non-sticky pollers, and they may have a count of 1 or 2 depending on
0 commit comments