Page MenuHomePhabricator

All orchestrator unit tests should check metadata maps
Closed, ResolvedPublic

Description

Description

In mswOrchestrateTest.js we do a nice job checking the content of metadata maps (Z22K2) returned from function calls. (This is implemented in attemptOrchestrationTestMode, and relies on parameters passed to attemptOrchestration.) We should do something similar in orchestrateTest.js.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • Each orchestrator unit test should check that expected metadata map elements are present.

Completion checklist

Event Timeline

Change 876068 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-orchestrator@master] Move orchestrateTest.js unit tests into new testing framework

https://gerrit.wikimedia.org/r/876068

Change 876068 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Move orchestrateTest.js tests into new testing framework

https://gerrit.wikimedia.org/r/876068

DMartin-WMF claimed this task.