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
We have had a couple test run failures on postgres with the following test. It is a timing issue as it has only happened a couple times (to my knowledge).
I suspect there's an async action updating the isDeploying flag in parallel to the query of the state - leading to non-deterministic result.
1) Pipelines API
Deploy Pipeline Stage
With action=use_latest_snapshot
For instance=>device group
Copies the existing instance snapshot to the next stages device group:
AssertionError: expected Object {
id: 'B9kj4VeLZP',
name: 'device-group-b',
description: 'an unnamed device group',
deviceCount: 1,
targetMatchCount: 0,
activeMatchCount: 0,
developerModeCount: 0,
runningCount: 0,
isDeploying: false,
hasTargetSnapshot: false
} to have property isDeploying of true (got false)
at Assertion.fail (node_modules/should/cjs/should.js:275:17)
at Assertion.value [as property] (node_modules/should/cjs/should.js:356:19)
at Context.<anonymous> (test/unit/forge/ee/routes/api/pipeline_spec.js:2490:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered:
We have had a couple test run failures on postgres with the following test. It is a timing issue as it has only happened a couple times (to my knowledge).
I suspect there's an async action updating the
isDeploying
flag in parallel to the query of the state - leading to non-deterministic result.The text was updated successfully, but these errors were encountered: