I used the following yml content. Used Azurite 3.15 and 3.9. But no luck. Then I tried as separate jobs. Still unable to pass the integration test.
stages:
- stage: Publish
displayName: 'Build and Publish Artifacts'
jobs:
- job: 'NGKMediaManagementAPI'
steps:
- task: NodeTool@0
inputs:
versionSpec: 13.x
- script : npm install -g azurite@3.9.0
- script : mkdir azurite
- script : azurite
Solved the hanging issue and Passed the Init tests(based on Azurite) in pipeline. use the following command in your yml file. Most importantly start /B azurite will remove the hanging issue !!!
- task: NodeTool@0
inputs:
versionSpec: 13.x
- script : npm install -g azurite
displayName: Install Azurite
- script : start /B azurite
displayName: Start azurite