Skip to content

Commit

Permalink
fix: more compact attack settings for produce actions
Browse files Browse the repository at this point in the history
  • Loading branch information
achoimet committed Nov 13, 2024
1 parent 0b7142a commit a147b6e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
12 changes: 0 additions & 12 deletions extkafka/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ var (
Type: action_kit_api.KeyValue,
Order: extutil.Ptr(4),
}
repetitionControl = action_kit_api.ActionParameter{
Name: "repetitionControl",
Label: "Repetition Control",
Type: action_kit_api.Header,
Order: extutil.Ptr(5),
}
durationAlter = action_kit_api.ActionParameter{
Label: "Duration",
Description: extutil.Ptr("The duration of the action. The broker configuration will be reverted at the end of the action."),
Expand All @@ -103,12 +97,6 @@ var (
Required: extutil.Ptr(true),
Order: extutil.Ptr(6),
}
resultVerification = action_kit_api.ActionParameter{
Name: "resultVerification",
Label: "Result Verification",
Type: action_kit_api.Header,
Order: extutil.Ptr(7),
}
successRate = action_kit_api.ActionParameter{
Name: "successRate",
Label: "Required Success Rate",
Expand Down
9 changes: 0 additions & 9 deletions extkafka/produceFixAmount.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ func (l *produceMessageActionFixedAmount) Describe() action_kit_api.ActionDescri
Type: action_kit_api.Separator,
Order: extutil.Ptr(5),
},
//------------------------
// Repitions
//------------------------
repetitionControl,
{
Name: "numberOfRecords",
Label: "Number of Records.",
Expand All @@ -106,12 +102,7 @@ func (l *produceMessageActionFixedAmount) Describe() action_kit_api.ActionDescri
Type: action_kit_api.Separator,
Order: extutil.Ptr(9),
},
//------------------------
// Result Verification
//------------------------
resultVerification,
successRate,

//------------------------
// Additional Settings
//------------------------
Expand Down
8 changes: 0 additions & 8 deletions extkafka/producePeriodically.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ func (l *produceMessageActionPeriodically) Describe() action_kit_api.ActionDescr
Type: action_kit_api.Separator,
Order: extutil.Ptr(5),
},
//------------------------
// Repetitions
//------------------------
repetitionControl,
{
Name: "recordsPerSecond",
Label: "Records per second",
Expand All @@ -102,10 +98,6 @@ func (l *produceMessageActionPeriodically) Describe() action_kit_api.ActionDescr
Type: action_kit_api.Separator,
Order: extutil.Ptr(9),
},
//------------------------
// Result Verification
//------------------------
resultVerification,
successRate,

//------------------------
Expand Down

0 comments on commit a147b6e

Please sign in to comment.