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
When trying to create a new Experiment through the GraphQL API using the createChaosExperiment mutation, the behavior of the required field runExperiment seems to be incorrect.
If the boolean is set to false, it still executes a run of the created experiment. When the boolean is set to true it seems to be executing two runs simultaneously.
Output of kubectl get workflow -n litmus after creating two experiments, one with runExperiment=false and one with runExperiment=true:
NAME
STATUS
AGE
run-experiment-false
Running
25s
run-experiment-true
Running
10s
run-experiment-true-1703863388584
Running
10s
Chaos Center:
Since I'm automating the fault injection and am creating a number of experiments at initialization, I'd need the experiments not to execute at creation.
Reproduce using the GraphQL API using Litmus v3.0.0
…is disabled (#4496)
* chore: [#4362]: Fixed experiment run execution even if runExperiment is disabled
Signed-off-by: Amit Kumar Das <amit.das@harness.io>
* fixed test case
Signed-off-by: Amit Kumar Das <amit.das@harness.io>
---------
Signed-off-by: Amit Kumar Das <amit.das@harness.io>
When trying to create a new
Experiment
through the GraphQL API using thecreateChaosExperiment
mutation, the behavior of the required fieldrunExperiment
seems to be incorrect.If the boolean is set to
false
, it still executes a run of the created experiment. When the boolean is set totrue
it seems to be executing two runs simultaneously.Output of
kubectl get workflow -n litmus
after creating two experiments, one withrunExperiment=false
and one withrunExperiment=true
:Chaos Center:
Since I'm automating the fault injection and am creating a number of experiments at initialization, I'd need the experiments not to execute at creation.
Reproduce using the GraphQL API using Litmus v3.0.0
Mutation:
Variables:
Headers:
The text was updated successfully, but these errors were encountered: