Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0.0
-
component cluster
-
Triaged
-
-
Unknown
Description
Build :
Test :
Scale :
Iteration :
The getRunningApps API rest endpoint shows an app running, but getDeployedApps does not. Due to this, the system test has been stuck after performing undeploy for timer_op function, since now the test relies on getRunningApps API to check for successful undeployment.
curl http://172.23.104.21:8091/_p/event/getRunningApps -u Administrator:password | jq
{ "bucket_op_complex_function": "", "timer_op": "", "timer_op_complex": "" }curl http://172.23.104.21:8091/_p/event/getDeployedApps -u Administrator:password | jq
{ "bucket_op_complex_function": "", "timer_op_complex": "" }Corresponding test step :
[2018-08-24T14:45:07-07:00, sequoiatools/eventing:6.0:76e09c] /eventing.py 172.23.104.21 8096 alice/bucket_op_function.json Administrator password undeploy true
[2018-08-24T14:46:48-07:00, sequoiatools/eventing:6.0:242c2f] /eventing.py 172.23.104.21 8096 alice/timer_op.json Administrator password undeploy true