(c: Composition, parser: WorkflowArgumentParser)
| 703 | |
| 704 | |
| 705 | def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None: |
| 706 | c.silent = True |
| 707 | |
| 708 | parser.add_argument( |
| 709 | "--redpanda", |
| 710 | action="store_true", |
| 711 | help="run against Redpanda instead of the Confluent Platform", |
| 712 | ) |
| 713 | |
| 714 | parser.add_argument( |
| 715 | "--guarantees", |
| 716 | action="store_true", |
| 717 | default=True, |
| 718 | help="Check guarantees defined by test scenarios", |
| 719 | ) |
| 720 | |
| 721 | parser.add_argument( |
| 722 | "--size", |
| 723 | metavar="N-N", |
| 724 | type=str, |
| 725 | default="1", |
| 726 | help="default SIZE", |
| 727 | ) |
| 728 | |
| 729 | parser.add_argument( |
| 730 | "--scenario", |
| 731 | metavar="SCENARIO", |
| 732 | action="append", |
| 733 | type=str, |
| 734 | help="Scenario to run", |
| 735 | ) |
| 736 | |
| 737 | parser.add_argument( |
| 738 | "--load-phase-duration", |
| 739 | type=int, |
| 740 | help="Override durations of LoadPhases", |
| 741 | ) |
| 742 | |
| 743 | parser.add_argument( |
| 744 | "--periodic-dist", |
| 745 | nargs=2, |
| 746 | metavar=("action", "per_second"), |
| 747 | action="append", |
| 748 | help="Override periodic distribution for an action with specified name", |
| 749 | ) |
| 750 | |
| 751 | parser.add_argument( |
| 752 | "--this-params", |
| 753 | metavar="PARAMS", |
| 754 | type=str, |
| 755 | default=os.getenv("THIS_PARAMS", None), |
| 756 | help="Semicolon-separated list of parameter=value pairs to apply to the 'THIS' Mz instance", |
| 757 | ) |
| 758 | |
| 759 | parser.add_argument( |
| 760 | "--other-tag", |
| 761 | metavar="TAG", |
| 762 | type=str, |
nothing calls this directly
no test coverage detected