test-fullautomation / robotframework-qconnect-base

Apache License 2.0
2 stars 1 forks source link

[OSError: [Errno 24] Too many open files] [Handle\Thread leak] [Connect/Disconnect SSH] #11

Closed test-fullautomation closed 2 years ago

test-fullautomation commented 2 years ago

Observation:

Example code to create handle\thread leak:

*** Settings ***
Resource ../../../../import.resource

*** Test Cases ***
# ********************************************************
TestCase
 FOR ${x} IN RANGE 1 10000
    ${config}= Evaluate { "address" : "${dSUT['system']['sQNX_IP']}", "logfile":"nonlog" }
    Connect conn_name=SSH1 conn_type=SSHClient conn_conf=${config} 
    Sleep 0.5
    Disconnect SSH1
    Sleep 1 
 END
test-fullautomation commented 2 years ago

Hi Cuong,

please look into this.

Seems to be an issue with the receiverthread.

Thank you, Thomas

test-fullautomation commented 2 years ago

this issue is fixed.