From 5e95aa09cc6503d15df68924f86cb044c344e10a Mon Sep 17 00:00:00 2001 From: Rina Fujino Date: Mon, 26 Aug 2024 13:03:11 +0000 Subject: [PATCH] fixup! feat: add an option to use c8y operation ID to update its status --- .../cumulocity/configuration/configuration_operation.robot | 4 ++-- .../configuration_with_file_transfer_https.robot | 2 +- tests/RobotFramework/tests/cumulocity/log/log_operation.robot | 4 ++-- .../tests/cumulocity/restart/restart_device.robot | 2 +- .../tests/cumulocity/software_management/software.robot | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot b/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot index 273c126c0d5..02f6629a8a2 100644 --- a/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot +++ b/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot @@ -549,8 +549,8 @@ Publish and Verify Local Command IF "${c8y_fragment}" # There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations Should Have MQTT Messages - ... c8y/s/ds - ... message_pattern=^(501|502|503),${c8y_fragment}.* + ... c8y/s/us + ... message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* ... minimum=0 ... maximum=0 END diff --git a/tests/RobotFramework/tests/cumulocity/configuration/configuration_with_file_transfer_https.robot b/tests/RobotFramework/tests/cumulocity/configuration/configuration_with_file_transfer_https.robot index 2af18a87938..cb74b80be7d 100644 --- a/tests/RobotFramework/tests/cumulocity/configuration/configuration_with_file_transfer_https.robot +++ b/tests/RobotFramework/tests/cumulocity/configuration/configuration_with_file_transfer_https.robot @@ -322,5 +322,5 @@ Publish and Verify Local Command IF "${c8y_fragment}" # There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations - Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0 + Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0 END diff --git a/tests/RobotFramework/tests/cumulocity/log/log_operation.robot b/tests/RobotFramework/tests/cumulocity/log/log_operation.robot index fb14526b57f..fa4ce858ff5 100644 --- a/tests/RobotFramework/tests/cumulocity/log/log_operation.robot +++ b/tests/RobotFramework/tests/cumulocity/log/log_operation.robot @@ -187,8 +187,8 @@ Publish and Verify Local Command IF "${c8y_fragment}" # There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations Should Have MQTT Messages - ... c8y/s/ds - ... message_pattern=^(501|502|503),${c8y_fragment}.* + ... c8y/s/us + ... message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* ... minimum=0 ... maximum=0 END diff --git a/tests/RobotFramework/tests/cumulocity/restart/restart_device.robot b/tests/RobotFramework/tests/cumulocity/restart/restart_device.robot index cff705c8f73..3eea42e7135 100644 --- a/tests/RobotFramework/tests/cumulocity/restart/restart_device.robot +++ b/tests/RobotFramework/tests/cumulocity/restart/restart_device.robot @@ -67,5 +67,5 @@ Publish and Verify Local Command IF "${c8y_fragment}" # There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations - Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0 + Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0 END diff --git a/tests/RobotFramework/tests/cumulocity/software_management/software.robot b/tests/RobotFramework/tests/cumulocity/software_management/software.robot index 6c9b7df29bf..a5d15440d9a 100644 --- a/tests/RobotFramework/tests/cumulocity/software_management/software.robot +++ b/tests/RobotFramework/tests/cumulocity/software_management/software.robot @@ -154,7 +154,7 @@ Publish and Verify Local Command IF "${c8y_fragment}" # There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations - Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0 + Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0 END Validate operation log uploaded