Skip to content

Dynamic Workload for Random.Choice doesn't handle value 0 #826

@AntyaDev

Description

@AntyaDev

This config seems to not work correctly for Choice

"SingleProportion": 0,
"SgpProportion": 100

var Type = ctx.Random.Choice(("single", config.SingleProportion), ("sgp", config.SgpProportion));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions