forked from red-hat-storage/cephci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During unit testing, it has been observed that the method does not honor the timeout when there is a continuous stream of reads. For example, if the below command is executed ``` node.exec(cmd="while [ -f /ceph-qe-ready ]; do echo 'Writing...' ; done", long_running=True, timeout=10 ) ``` then the timeout of 10 seconds is never honoured due to never ending reads. In this patch, the loop around data reading is removed and a singular controlled loop is implemented. Signed-off-by: Pragadeeswaran Sathyanarayanan <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters