Skip to content

GET api/builds/{id} #358

Answered by pashidlos
alexniculae asked this question in Q&A
Discussion options

You must be logged in to vote

thanks for your question

Will the data.isRunning switch to false, as soon as the vrtStop command is triggered?

yes, it will

If there are multiple specs that trigger vrtStart and vrtStop iteratively, will the build still consider isRunning === true? If so, when does it change to false, when nothing is actively working on the build?

currently data.isRunning is only responsible for visual representation on ui - loader
so you could reuse the build even if it's stopped

I am trying to understand if there is any chance of having data.isRunning === false after the last spec has ran and the vrtStop command was triggered for the last time.

invoke vrtStop inside global teardown after the last spec

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexniculae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants