Skip to content

Commit b1dacc6

Browse files
committed
add stop operation
1 parent a08c74c commit b1dacc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/mqtt5_canary/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ static void s_AwsMqtt5CanaryAddOperationToArray(
328328
/* Add operations and their weighted probability to the list of possible operations */
329329
static void s_AwsMqtt5CanaryInitWeightedOperations(AwsMqtt5CanaryTesterOptions *testerOptions)
330330
{
331+
s_AwsMqtt5CanaryAddOperationToArray(testerOptions, AWS_MQTT5_CANARY_OPERATION_STOP, 1);
331332
s_AwsMqtt5CanaryAddOperationToArray(testerOptions, AWS_MQTT5_CANARY_OPERATION_SUBSCRIBE, 200);
332333
s_AwsMqtt5CanaryAddOperationToArray(testerOptions, AWS_MQTT5_CANARY_OPERATION_UNSUBSCRIBE, 200);
333334
s_AwsMqtt5CanaryAddOperationToArray(testerOptions, AWS_MQTT5_CANARY_OPERATION_PUBLISH_QOS0, 200);

0 commit comments

Comments
 (0)