Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Jan 10, 2024
1 parent a33ad69 commit ab51c9d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
import threading
import time

import paramiko
try:
import paramiko
except ImportError:
pass

CHIP_REPO = os.path.join(os.path.abspath(
os.path.dirname(__file__)), "..", "..", "..", "..", "..")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
limitations under the License.
"""

'''
import logging
import os
import sys

from helper.CHIPTestBase import CHIPVirtualHome

"""
Test to verify that the device can still handle new subscription requests when resuming the maximum subscriptions.
Steps for this test:
1. Commission the server app to the first fabric and send maximum subscription requests from the controller in
Expand All @@ -27,14 +33,7 @@
5. Restart the server app and the server app will start resuming subscriptions.
6. When the server app is resuming subscriptions, send a new subscription request from the second controller.
7. Verify that the device can still handle this subscription request.
'''


import logging
import os
import sys

from helper.CHIPTestBase import CHIPVirtualHome
"""

logger = logging.getLogger('SubscriptionResumptionCapacityTest')
logger.setLevel(logging.INFO)
Expand Down
17 changes: 8 additions & 9 deletions src/test_driver/linux-cirque/SubscriptionResumptionTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@
limitations under the License.
"""

'''
Basic Subscription Resumption Test to validate that the device can resume subscriptions after restarting.
Steps for this test:
1. Subcription an attribute on the controller
2. Restart the server app
3. Verify that the server app with resume the subscription and send a report to the controller
'''


import logging
import os
import sys

from helper.CHIPTestBase import CHIPVirtualHome

"""
Basic Subscription Resumption Test to validate that the device can resume subscriptions after restarting.
Steps for this test:
1. Subcription an attribute on the controller
2. Restart the server app
3. Verify that the server app with resume the subscription and send a report to the controller
"""

logger = logging.getLogger('SubscriptionResumptionTest')
logger.setLevel(logging.INFO)

Expand Down

0 comments on commit ab51c9d

Please sign in to comment.