You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use Azurite to test my C# Azure application locally. In this issue, what I want to achieve is: Have my tests detect whether Azurite is running and abort quickly with a nice error message if it is not running. (By default, if the emulator is not running, the C# Azure library calls will time out after something like 30 seconds with an unclear error message.)
I notice that the Azurite command-line application has no parameter that tells me whether it is already running. And when I start Azurite from the console I don't see any process or service in Task Explorer called anything like "azurite". So I don't know what process I'm supposed to check for.
I gather that Azurite is built on Node.js. There is indeed a process called node.exe running, but that's not a sufficient condition. Can I query my Node.js instance and get it to tell me whether it is running Azurite?
Thanks in advance!
Which service(blob, file, queue, table) does this issue concern?
Blob.
Which version of the Azurite was used?
3.11.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
NPM.
What's the Node.js version?
v15.4.0
The text was updated successfully, but these errors were encountered:
I want to use Azurite to test my C# Azure application locally. In this issue, what I want to achieve is: Have my tests detect whether Azurite is running and abort quickly with a nice error message if it is not running. (By default, if the emulator is not running, the C# Azure library calls will time out after something like 30 seconds with an unclear error message.)
I am on Windows.
I have installed Azurite like this:
npm install -g azurite
I run it like this:
azurite --silent --location C:\temp\Azurite --debug c:\temp\Azurite\debug.log
I notice that the Azurite command-line application has no parameter that tells me whether it is already running. And when I start Azurite from the console I don't see any process or service in Task Explorer called anything like "azurite". So I don't know what process I'm supposed to check for.
I gather that Azurite is built on Node.js. There is indeed a process called
node.exe
running, but that's not a sufficient condition. Can I query my Node.js instance and get it to tell me whether it is running Azurite?Thanks in advance!
Which service(blob, file, queue, table) does this issue concern?
Blob.
Which version of the Azurite was used?
3.11.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
NPM.
What's the Node.js version?
v15.4.0
The text was updated successfully, but these errors were encountered: